Skip to content

Comment on Datalog Disassembly

Comments

How does this actually work in practice?

I suppose altering instruction count or size still dooms the executable to become non-functional?

Or do all absolute & relative code & data references all get magically updated?

elf and pe have relocation info so u can patch things effectively. binary blobs might be problematic but project targets elf/pe from what i can tell.

there is no magic in computer -_-

Generally binary rewriters will add a new section for the rewritten code/other stuff that needs regeneration (relocations, exception info, the like)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.