forked from AndrewSchenk/App-Scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainCommand.h
44 lines (32 loc) · 1.34 KB
/
MainCommand.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// MainCommand.h
// App Scanner
//
// Created by Andrew on 2/1/11.
// Copyright 2011 Chimp Studios. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface MainCommand : NSObject {
BOOL verbose;
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
}
@property(nonatomic) BOOL verbose;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
-(id)initWithUpdate:(BOOL)updateOn andVerbose:(BOOL)verboseOn;
-(void)startScanningFile:(NSString*)file;
-(void)startScannerWithURL:(NSURL*)url;
-(void)readHexCStringDataInFromURL:(NSURL*)url;
-(void)processHexMethods:(NSArray*)hmethds;
-(void)stripIVarsAndPathsFromStrings:(NSArray*)strings;
-(void)checkMethodsAgainstDatabase:(NSArray*)methods;
-(void)loadPweepsForSigs:(NSArray*)flagged;
-(void)continueScannerWithContents:(NSString *)contents;
-(void)continueScannerWithNormalStrings:(NSArray *)normalStrings;
-(void)continueScanningWithCleanedMethods:(NSArray *)methods;
-(void)continueScanningWithFlagged:(NSArray *)flagged;
-(void)finishScanByShowingResults:(NSArray *)flaggedPweeps;
@end