Skip to content

Commit

Permalink
Merge pull request #29 from junxzm1990/fix-ref
Browse files Browse the repository at this point in the history
fix compare ref
  • Loading branch information
bin2415 authored Sep 5, 2024
2 parents 65d2a7c + 1b643e2 commit ccb55ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compare/compareReference.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,9 @@ def getLinkerFunctionAddr(binary):
logging.debug("load range is {}".format(load_range))
getLinkerFunctionRange(options.binary)
elfclass = readElfClass(options.binary)
elfarch = readElfArch(options.binary)
elfendian = readElfEndian(options.binary)
bbl.init(elfarch, elfclass, elfendian)
MD = init_capstone(elfclass)
readSecRange(options.binary)
loadedSegs = get_loaded_info(options.binary)
Expand Down

0 comments on commit ccb55ce

Please sign in to comment.