Skip to content

Commit

Permalink
sort csegs
Browse files Browse the repository at this point in the history
  • Loading branch information
xor2003 committed Sep 25, 2024
1 parent 36b2417 commit 42e7ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json2idc.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def main():
write_idc_footer(outfile)

print("Used code segments and ip range:")
for seg, minmax in code_segs.items():
for seg, minmax in sorted(code_segs.items()):
print(f"{seg_dbx2ida(seg):x} {minmax[0]:x}:{minmax[1]:x}")


Expand Down

0 comments on commit 42e7ec1

Please sign in to comment.