Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 754 Bytes

README.rst

File metadata and controls

20 lines (14 loc) · 754 Bytes

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 "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