Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tool for comparing assembler files/dumps
Python
branch: master
Failed to load latest commit information.
examples/objdump
README.rst
asmdiff.py
test_asmdiff.py

README.rst

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
Something went wrong with that request. Please try again.