Files
TaskExplorer/serviceInterface.h
Patrick Wardle f7b90aa492 final v2.0.0 release
-wait on enum thread to exit before (re)starting
-don't vmmap ourselves :P
2018-12-23 11:46:24 -10:00

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