m4b
m4b
E.g., you could use this to zero-copy read the symbols if you can get a pointer to the symbol table + it's len: https://github.com//m4b/goblin/blob/d215c61565bd31859bdb9e395302f49af03aab99/src/elf/sym.rs#L239
I don't know, that's a good question! I don't know offhand what it means to emit a buck len of zero. According to: https://blogs.oracle.com/solaris/gnu-hash-elf-sections-v2 > A bucket element will contain...
That seems like a bug if they're signifying an empty `DT_GNU_HASH` via a zero buckets_num; they should just not emit the `DT_GNU_HASH` structure at all in that case; on the...
Hmm looks like a build regression. Probably something got messed up in refactor. We have a makefile that should invoke some of these matrix combinations. Should be simple fix. I...
Yea I didn’t bother with scattered because I believe they’re only for G4’s and other PowerPCs during the transition. I’ve never found a binary in the wild, though it would...
Is the ar from macos by any chance ? I’ve seen panics on darwin/ bsd archives. @alexozer would you like to to take up this issue? :)
We can be less strict about parsing here; i have a minor patch, that "succeeds" in parsing the archive, though the resulting archive has 0 symbols in all its members,...
ah whoops i was reading the output of bingrep size as the offset, yes it's probably fine if it can the member names.
I'm not opposed to adding this really, but I do sort of have an unstated policy in goblin to keep the deps as ~low~ small as possible. However, I am...
@luser if you do a PR it'll probably get merged, just need to make sure the no_std works correctly. @philipc is now the expert on this ;)