tools: Sort decomp symbols by address

Makes it less tedious to add several decompiled functions to the
function list
This commit is contained in:
Léo Lam 2021-01-22 14:18:43 +01:00
parent 24bb3a679a
commit 5410a56d20
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ config: dict = dict()
diff_settings.apply(config, {})
myimg: str = config["myimg"]
entries = [x.strip().split() for x in subprocess.check_output(["nm", myimg], universal_newlines=True).split("\n")]
entries = [x.strip().split() for x in subprocess.check_output(["nm", "-n", myimg], universal_newlines=True).split("\n")]
for entry in entries:
if len(entry) == 3: