All Projects → davidmalcolm → asmdiff

davidmalcolm / asmdiff

Licence: other
Tool for comparing assembler files/dumps

Programming Languages

python
139335 projects - #7 most used programming language

asmdiff

This is a tool for comparing the output of "objdump" for a before/after pair of .o files.

It attempts to be more useful than a purely textual "diff" in the following ways:

  • It ignores reorderings of functions, instead matching them by name.
  • It has heuristics for matching up methods between old and new even if the underlying class is renamed, or if a function becomes a method.
  • Functions that appear/disappear are reported by name, rather than emitting the body of the code.
  • Code locations and jump targets are tracked relative to the top of the function that they're in, so that movement of a function within the .text section doesn't show up as a difference.
  • Trailing nop instructions (for padding) are ignored
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].