Skip to content

Instantly share code, notes, and snippets.

@dlevi309
Last active February 5, 2022 01:59
Show Gist options
  • Select an option

  • Save dlevi309/24c284561a7d8cd3747dad7d972e798e to your computer and use it in GitHub Desktop.

Select an option

Save dlevi309/24c284561a7d8cd3747dad7d972e798e to your computer and use it in GitHub Desktop.
@interface MIGlobalConfiguration : NSObject {}
@end
@interface MIDaemonConfiguration : MIGlobalConfiguration {}
@property (nonatomic,readonly) BOOL skipDeviceFamilyCheck;
@property (nonatomic,readonly) BOOL skipThinningCheck;
@property (nonatomic,readonly) BOOL allowPatchWithoutSinf;
@property (nonatomic,readonly) BOOL codeSigningEnforcementIsDisabled;
@property (nonatomic,readonly) BOOL isInternalImageType;
-(BOOL)isInternalImageType;
-(BOOL)codeSigningEnforcementIsDisabled;
-(BOOL)skipDeviceFamilyCheck;
-(BOOL)skipThinningCheck;
-(BOOL)allowPatchWithoutSinf;
@end
%hook MIDaemonConfiguration
-(BOOL)skipDeviceFamilyCheck { return YES; }
-(BOOL)skipThinningCheck { return YES; }
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment