Comment on Datalog DisassemblyComments−BobbyTables21moHow 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?−saidnooneever1moelf 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 -_-−not_a91moGenerally binary rewriters will add a new section for the rewritten code/other stuff that needs regeneration (relocations, exception info, the like)
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)