DescriptionFix courgette ELF x86 dissembler
Courgette cannot parse files that have out of order NOBITS sections and instead
will crash. The solution to this is to skip them and encode them as raw bytes.
Also, courgette has a bug where it incorrectly emits ElfRelocationInstruction
instructions even when there are no valid R_386_RELATIVE relocations in the
file.
Added a test file that exhibits both of these symptoms.
BUG=424820, 423925
TEST=courgette_unittests
R=dgarrett@chromium.org, tommi@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/3e6fa973958cb37622aa882f2c13b6927228e4fc
Patch Set 1 #Patch Set 2 : rogue extra line #
Total comments: 2
Patch Set 3 : rebase #Patch Set 4 : rebase again #
Messages
Total messages: 17 (4 generated)
|