Skip to content

MachO: handle empty LC_SYMTAB - #1392

Open
raaller wants to merge 1 commit into
lief-project:mainfrom
raaller:fix/macho-empty-symtab-1325
Open

raaller wants to merge 1 commit into
lief-project:mainfrom
raaller:fix/macho-empty-symtab-1325

Conversation

@raaller

@raaller raaller commented Oct 14, 2026

Copy link
Copy Markdown

avoid misleading __LINKEDIT warnings for empty LC_SYMTAB commands by returning early when both the symbol count and string table size are zero

added regression tests for 32/64 bit mach-o

tests passed

closes #1325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mach-O LC_SYMTAB parsing emits "Weird" messages for empty tables

1 participant