Post

Replies

Boosts

Views

Activity

Comment on Detecting malware through Machine Learning
No I can't. I actually made a mistake in my question instead of detecting malware we are trying to detect anomalies in the behaviour of the user. For example lets say you have a user who is a director of the company and has a mac, those types of people won't be executing python scripts on the terminal, that would be an anomaly for that particular user. That is one of the things we would like to detect.
Mar ’23
Comment on Crash when using String(cString:)
Quinn, I don't understand why you question the use of the timeout, I mean the deadline of the msg is provided for a reason right? Also if I use a timer like asyncAfter I will have to wait for the deadline to respond to the msg, with the semaphore i could signal it and respond way before the deadline if the thread doing the work is done. I understand it is not ideal to block the thread but don't I need to block to wait for the ref count you suggested? Thanks for all the tips.
Aug ’22
Comment on Crash when using String(cString:)
Hi Quinn. Yes I am copying the message and have set up a semaphore so i dont exceed the deadline of the auth message. To give more context, there is one specific program that generates this error and that is golang. Whenever some of my users try to build/run a project with go it crashes. But like I said, not all users have this error, apparently this only happens in M1 macs with Monterey.
Aug ’22
Comment on Crash when using String(cString:)
I symbolicated the crash and found the specific part of my code where i call this description (I call it on various places so I wasnt sure which one it was). What I found out is that I am calling this description property on the same es_string_token_t two times, the first time it runs no problem and the seconds time it fails. This is why I don't think there is a problem with the string like you suggested because if it was it should fail the first time. I will try and log the value of length
Aug ’22