binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Should binding stubs exist in `view-macho` or in `platform-mac`?

Open rickmark opened this issue 2 years ago • 1 comments

So now that mach-o is OSS, a feature that should be built is the parsing of stubs to their symbolic name. The stubs section starts with a generic "thunk" and each successive function is a stub function, followed by an immediate constant value which is the index into the DYLD Tries that binds the symbol. By iterating over each stub/thunk we can correctly name these functions as __stub_binder_thunk$LIBRARY$SYMBOL

rickmark avatar Feb 20 '23 21:02 rickmark

#111 Ideally we'd handle that with a generic approach but until that point we could handle this in the view.

plafosse avatar Feb 13 '24 14:02 plafosse