We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ffaa7f commit eedef09Copy full SHA for eedef09
bdx/binary.py
@@ -30,7 +30,7 @@ def read_symtable(file: str | Path) -> list[Symbol]:
30
with open(file, "rb") as f, ELFFile(f) as elf:
31
symtab = elf.get_section_by_name(".symtab")
32
33
- mtime = os.stat(file).st_mtime_ns
+ mtime = os.stat(f.fileno()).st_mtime_ns
34
35
symbols = []
36
for symbol in symtab.iter_symbols(): # pyright: ignore
0 commit comments