mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
-wait on enum thread to exit before (re)starting -don't vmmap ourselves :P
32 lines
806 B
Objective-C
32 lines
806 B
Objective-C
//
|
|
// serviceInterface.h
|
|
// TaskExplorer
|
|
//
|
|
// Created by Patrick Wardle on 5/27/15.
|
|
// Copyright (c) 2015 Objective-See, LLC. All rights reserved.
|
|
//
|
|
|
|
#ifndef TaskExplorer_serviceInterface_h
|
|
#define TaskExplorer_serviceInterface_h
|
|
|
|
#import "Task.h"
|
|
|
|
@protocol remoteTaskProto
|
|
|
|
//get task's commandline args
|
|
// ->args returned in array arg
|
|
-(void)getTaskArgs:(NSNumber*)taskPID withReply:(void (^)(NSMutableArray *))reply;
|
|
|
|
//enumerate loaded dylibs in a task
|
|
-(void)enumerateDylibs:(NSNumber*)taskPID withReply:(void (^)(NSMutableArray *))reply;
|
|
|
|
//enumerate open files in a task
|
|
-(void)enumerateFiles:(NSNumber*)taskPID withReply:(void (^)(NSMutableArray *))reply;
|
|
|
|
//enumerate network connections
|
|
-(void)enumerateNetwork:(NSNumber*)taskPID withReply:(void (^)(NSMutableArray *))reply;
|
|
|
|
@end
|
|
|
|
#endif
|