Page 1 of 1

procexp - minor bug

PostPosted: Tue Mar 29, 2016 7:28 pm
by Domo
I like the way you get port descriptions from the launchd bootstrap port. That's damn clever hacking! ;)
But there's a bug in parsing text output: when you need to get a description for port, say, 0x203 (which doesn't have a description), you actually find the one for port 0x20301 ;)

Re: procexp - minor bug

PostPosted: Tue Mar 29, 2016 7:55 pm
by morpheus
:D Kudos to you for figuring out how I do it (though it'll be explained in depth in the upcoming MOXII)

And I'll fix it. I'm putting in a new feature in Procexp for another 1-... release - and your fix will be included (plus your name on the Changelog :-). Thanks!

Re: procexp - minor bug

PostPosted: Wed Mar 30, 2016 9:31 pm
by Domo
That's awesome!! :)

Also, I just found out that you could decipher some ports which are actually port sets - use mach_port_get_set_status() for that!
On the other hand, it doesn't seem like some useful human-readable info... From what I see, ports are grouped into sets without any evident logic ;)