Skip to content

Commit

Permalink
Revert "Added check for just sym_mode if protected executable"
Browse files Browse the repository at this point in the history
This reverts commit 4a029cc.
  • Loading branch information
lapcat authored Dec 10, 2019
1 parent 6766c18 commit 8029572
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Alternatively, you can skip all of this by simply grabbing the compiled `dsdump`

Compiled SHA1
```
SHA1: 82d7d6ecb0b438fcd2395f9c2bbf20f30de18166
SHA1: eacd84288fbf484643ad90d8bce37059de2f1938
```

### Credits
Expand Down
Binary file modified compiled/dsdump
Binary file not shown.
2 changes: 1 addition & 1 deletion dsdump/XRMachOLibrary.mm
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ - (instancetype)initWithPath:(NSString*)path {
char seg_name[17] = {};
memcpy(seg_name, cmd->segname, 16);
NSString *segmentKey = [NSString stringWithUTF8String:seg_name];
if (cmd->flags & SG_PROTECTED_VERSION_1 && !xref_options.symbol_mode) {
if (cmd->flags & SG_PROTECTED_VERSION_1) {
// FIXME, implement protected executables
// https://github.com/DerekSelander/dsdump/issues/6
printf("%s is protected, come again at a later beta\n", cmd->segname);
Expand Down

0 comments on commit 8029572

Please sign in to comment.