mirror of https://github.com/zeldaret/botw.git
tools: Sort decomp symbols by address
Makes it less tedious to add several decompiled functions to the function list
This commit is contained in:
parent
24bb3a679a
commit
5410a56d20
|
@ -22,7 +22,7 @@ config: dict = dict()
|
||||||
diff_settings.apply(config, {})
|
diff_settings.apply(config, {})
|
||||||
myimg: str = config["myimg"]
|
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:
|
for entry in entries:
|
||||||
if len(entry) == 3:
|
if len(entry) == 3:
|
||||||
|
|
Loading…
Reference in New Issue