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
+1 -1
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: