mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-14 10:10:11 -08:00
WIP fix lib push order and sort new inputs
This commit is contained in:
1 parent
67e66dc26e
commit
b64e1dca9a
7 files changed
+118
-100
No files matched your search
@@ -8,8 +8,8 @@ def get_sorted_objs(pdb_path):
|
||||
filtered_lines = [line for line in lines if line.lstrip().startswith("Mod ")]
|
||||
# sort by the obj_path portion (line format: "Mod <imod> <obj_path>")
|
||||
def extract_path(line): return line.split(maxsplit=2)[2].lower()
|
||||
sorted_lines = sorted(filtered_lines, key=extract_path)
|
||||
return sorted_lines
|
||||
#sorted_lines = sorted(filtered_lines, key=extract_path)
|
||||
return filtered_lines
|
||||
|
||||
if __name__ == "__main__":
|
||||
sorted_objs = get_sorted_objs(sys.argv[1])
|
||||
|
||||
Reference in new issue
Block a user