Post

Replies

Boosts

Views

Activity

Writing DriverKit subclass of IOUserHIDEventService
I'm following Creating a Driver Using the DriverKit SDK and when I set my class as a subclass of IOUserHIDEventService instead of IOService I'm getting an error saying expected class name [4, Parse Issue]. and an error on my Start override method saying 'Start' marked 'override' but does not override any member functions Not sure how to solve that since I cannot find any information regarding those issues.
1
0
689
Mar ’21
Accessing class in a different project
Hi there, I'm following Apple's code sample SimpleFirewall, and I'm trying to create my own project with parts of it including the IPCConnection class within the Network-Extension project. But on my ViewController class (which is in a different project) I'm getting an error saying: Cannot find "IPCConnection" in scope And yet I couldn't find any differences between my project's settings and the SimpleFirewall's settings. I'm pretty new to swift, and could use your help. Thanks!
5
0
845
Nov ’20
SysExt hangs while registered to ES_EVENT_TYPE_AUTH_MMAP
I have written a tiny system extension which handles ES_EVENT_TYPE_AUTH_MMAP ES_EVENT_TYPE_AUTH_EXEC I authorize both with the same code   es_auth_result_t auth_res = ES_AUTH_RESULT_ALLOW;   es_respond_result_t respond;   respond = es_respond_auth_result(client, message, auth_res, true);   if (respond != ES_RESPOND_RESULT_SUCCESS)     printf("error in respond\n"); but for some reason while I'm opening processes (i.e. Safari, Mail, etc..) they all hang. I have tried removing either of the events, and figured while only receiving EXEC events, everything works as it should, but when only receiving MMAP events, every process hang and not responding. is there a special handling for the MMAP event?
5
0
698
Aug ’20
Could not build module 'NetworkExtension' error
I'm trying to write a sample network filtering code as part of the NetworkExtension,So far I cannot even use #include <NetworkExtension/NetworkExtension.h>without getting an error saying "Could not build module 'NetworkExtensin'"I have already added the NetworkExtension framework to my project dependencies.and the project is a command line (C) projectany ideas?
7
0
1.6k
Mar ’20
Could not build module 'Darwin' error
I worked on my own project (a simple command line in C)after that, I was trying to compile the xnu source code using a script, and it probably changed something in my xcode configurationsbecause now all I'm getting is this error "Could not build module 'Darwin'" no matter what I do, I created a new workspace with a new project but the error remains.any ideas?Thanks!
2
0
5.5k
Jul ’19