Skip to content

Commit

Permalink
ida_plugin: sort symbols before writing them into symbols.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Sep 8, 2020
1 parent a0f7a76 commit cc5e774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fa/ida_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def OnFormChange(self, fid):
form.iSymbolsFilename.value)
with open(symbols_filename, 'w') as f:
results = IdaLoader.extract_all_user_names(None)
for k, v in results.items():
for k, v in sorted(results.items()):
f.write('{} = 0x{:08x};\n'.format(k, v))

# save c header
Expand Down

0 comments on commit cc5e774

Please sign in to comment.