Closed ddovod closed 5 years ago
In linux, there's st_size field in the Elf64_Sym structure. In macos, there's no size field in nlist_64 entry, so we need to distinguish symbol size somehow. Probably by sorting symbols and calculating distance between their addresses.
st_size
Elf64_Sym
nlist_64
In linux, there's
st_size
field in theElf64_Sym
structure. In macos, there's no size field innlist_64
entry, so we need to distinguish symbol size somehow. Probably by sorting symbols and calculating distance between their addresses.