Ghidra appearing to not find referenced libraries #110
Labels
Feature: Loader/Mach-O
Status: Internal
This is being tracked internally by the Ghidra team
Type: Bug
Something isn't working
Milestone
Describe the bug
When I try to import certain binaries, Ghidra warns that it can't find some referenced library files. Except, when I look at the locations where it says they weren't found, they're there.
To Reproduce
Steps to reproduce the behavior:
----- Loading /usr/local/Cellar/xz/5.2.4/bin/xz -----
Skipping segment: __PAGEZERO (xz)
[/usr/local/Cellar/xz/5.2.4/lib/liblzma.5.dylib] -> not found
[/usr/lib/libSystem.B.dylib] -> not found
$ ls -l /usr/local/Cellar/xz/5.2.4/lib/liblzma.5.dylib
-r--r--r-- 1 user staff 134356 Feb 9 17:06 /usr/local/Cellar/xz/5.2.4/lib/liblzma.5.dylib
$ ls -l /usr/lib/libSystem.B.dylib
-rwxr-xr-x 1 root wheel 60880 Jan 15 17:21 /usr/lib/libSystem.B.dylib
Expected behavior
I'd expect that warning to not show up, and for the import to finish cleanly.
Environment (please complete the following information):
Additional context
I'm also wondering whether this could be related to the following errors I receive after analyzing the binary using the default analysis settings:
Failed to create "no return" function __la_symbol_ptr::___stack_chk_fail at 10000c078
Failed to create "no return" function __la_symbol_ptr::_exit at 10000c0a0
The text was updated successfully, but these errors were encountered: