Skip to content

Commit ff63125

Browse files
authored
Merge pull request #26 from Gilnaa/master
Fixed wrong equation
2 parents dc3a083 + d760928 commit ff63125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filebytes/mach_o.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def __parseSections(self, data, segment, offset):
532532
else:
533533
offset += sizeof(self._classes.Section)
534534

535-
if self.machHeader.header.filetype != MH.DSYM or segment.segname == "__DWARF":
535+
if self.machHeader.header.filetype != MH.DSYM or segment.segname == b"__DWARF":
536536
raw = (c_ubyte * sec.size).from_buffer(data, sec.offset)
537537
bytes = bytearray(raw)
538538
else:

0 commit comments

Comments
 (0)