Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

Commit 05b4044

Browse files
committed
fix symbol read: read elf in Wide mode
1 parent 48d4bfe commit 05b4044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XSPdb/cmd/cmd_elf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def api_get_elf_symbol_dict(self, elf_file, search_dirs=["./ready-to-run"]):
2626
error(f"{elf_file} not found")
2727
return None
2828
readelf = find_executable_in_dirs("readelf", search_dirs=search_dirs)
29-
cmd = [readelf, "-s", elf_file]
29+
cmd = [readelf, "-sW", elf_file]
3030
try:
3131
output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
3232
lines = output.decode().splitlines()

0 commit comments

Comments
 (0)