radareorg / ideas

4 stars 1 forks source link

Binfixing to make non-r2 users happy with r2 #39

Open radare opened 9 years ago

radare commented 9 years ago

This is.. some fuzzed bins turn to be problematic for other tools. So let's enhace binpatching support in r2 to fixup headers, sections, symbol names, methods and other susceptible thing to be messed up to allow non-r2 users to use their favourite buggy software.

jvoisin commented 9 years ago

Don't we need pf for this task?

ret2libc commented 4 years ago

This issue has been moved from radareorg/radare2 to radareorg/ideas as we are trying to clean our backlog and this issue has probably been created a long while ago. This is an effort to help contributors understand what are the actionable items they can work on, prioritize issues better and help users find active/duplicated issues more easily. If this is not an enhancement/improvement/general idea but a bug, feel free to ask for re-transfer to main repo. Thanks for your understanding and contribution with this issue.

trufae commented 4 years ago

The bin parser can log a list of r2 commands binary patching all the wrong fields with valid values. But this wont probably make the executable work in all the possible situations. A subcommand of i can be used to dump those commands so prefixing with . Will patch the executable