|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
🍎 macOS system utilities and backtrace symbol resolution More...
Go to the source code of this file.
Functions | |
| int | get_binary_file_address_offsets (const void *addr, platform_binary_match_t *matches, int max_matches) |
| Get binary that contains address on macOS via dyld. | |
🍎 macOS system utilities and backtrace symbol resolution
Definition in file macos/system.c.
| int get_binary_file_address_offsets | ( | const void * | addr, |
| platform_binary_match_t * | matches, | ||
| int | max_matches | ||
| ) |
Get binary that contains address on macOS via dyld.
Iterates through dyld-loaded images to find which one contains the given runtime address. Returns the file offset within that image, which is passed to llvm-symbolizer for symbol resolution.
| addr | Runtime address from backtrace |
| matches | Output array for matches (path, offset, is_project_lib) |
| max_matches | Maximum number of matches to store |
Definition at line 54 of file macos/system.c.
References PLATFORM_MAX_PATH_LENGTH.