Open gogo2464 opened 1 year ago
according to this https://stackoverflow.com/questions/4309771/how-to-disassemble-modify-and-then-reassemble-a-linux-executable, there is currently not any tool that permits to disassemble in a way to be able to reassemble it.
It could be done with rasm2. AsI did here: https://github.com/gogo2464/realtek-firmware-decompilation/blob/master/.github/workflows/.travis.yml#L26
I would like to implement main directives. The idea is to convert the section names to .section directive for x86_64 as example.
I also need to implement labels (if not already done).
but then we definitely need more testing.
https://github.com/albertvanderhorst/ciasdis is the only tools and it is forth and not maintained anymore.
EDIT: this soft does exactly what I want: https://github.com/GrammaTech/ddisasm
Description
according to this https://stackoverflow.com/questions/4309771/how-to-disassemble-modify-and-then-reassemble-a-linux-executable, there is currently not any tool that permits to disassemble in a way to be able to reassemble it.
It could be done with rasm2. AsI did here: https://github.com/gogo2464/realtek-firmware-decompilation/blob/master/.github/workflows/.travis.yml#L26
I would like to implement main directives. The idea is to convert the section names to .section directive for x86_64 as example.
I also need to implement labels (if not already done).
but then we definitely need more testing.
https://github.com/albertvanderhorst/ciasdis is the only tools and it is forth and not maintained anymore.