procexp - minor bug

Used for discussing the various tools in the book as well as encouraging members to share tools

procexp - minor bug

Postby Domo » Tue Mar 29, 2016 7:28 pm

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 ;)
Domo
 
Posts: 9
Joined: Sun Aug 09, 2015 9:10 am

Re: procexp - minor bug

Postby morpheus » Tue Mar 29, 2016 7:55 pm

: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!
morpheus
Site Admin
 
Posts: 532
Joined: Thu Apr 11, 2013 6:24 pm

Re: procexp - minor bug

Postby Domo » Wed Mar 30, 2016 9:31 pm

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 ;)
Domo
 
Posts: 9
Joined: Sun Aug 09, 2015 9:10 am


Return to Tools

Who is online

Users browsing this forum: No registered users and 1 guest