Skip to content

Commit 9031a95

Browse files
committed
Disable MH_FILESET parsing in Mach-O view
1 parent bda248a commit 9031a95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

view/macho/machoview.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3776,8 +3776,7 @@ uint64_t MachoViewType::ParseHeaders(BinaryView* data, uint64_t imageOffset, mac
37763776
ident.filetype == MH_KEXT_BUNDLE ||
37773777
ident.filetype == MH_CORE ||
37783778
ident.filetype == MH_PRELOAD ||
3779-
ident.filetype == MH_DSYM ||
3780-
ident.filetype == MH_FILESET))
3779+
ident.filetype == MH_DSYM))
37813780
{
37823781
m_logger->LogError("Unhandled Macho file class: 0x%x", ident.filetype);
37833782
errorMsg = "invalid file class";

0 commit comments

Comments
 (0)