MachoUuid
Description
Borrowed pointer to the 16-byte LC_UUID payload. Only meaningful when MachoHasUuid(self) is true. Cross-namespace readers (MachoCache, …) match the main binary’s UUID against its dSYM; this is the public seam they go through instead of reaching at self->uuid directly.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
MachoCache.c:116:
StrDeinit(&path);
if (!MachoHasUuid(&e->dsym) || MemCompare(MachoUuid(&e->dsym), MachoUuid(&e->main), 16) != 0) {
LOG_ERROR("MachoCache: dSYM UUID mismatch for {}", e->module_path);
MachoDeinit(&e->dsym);
Last updated on