Page 1 of 1

procexp on macOS Sierra

PostPosted: Wed Sep 21, 2016 5:27 pm
by duncanyoyo1
So, when I try to run procexp on my MacBook Pro running macOS Sierra ( the final that came out on the 20th of Sep.2016 ) it just gives me
Code: Select all
Bad system call: 12

I read that because of SIP it couldn't do some stuff, but I already had SIP turned off.
The only things I have done to the binary was move it into my /bin directory and give it global RWX permissions. It gives me the same error when ran as a user or root
When I run it with the vmmon flag it seems to run, but I haven't dug any further. Otherwise, if I use no flags it just gives me the Bad System Call error. Any help on this would be appreciated.

Re: procexp on macOS Sierra

PostPosted: Wed Sep 21, 2016 7:11 pm
by morpheus
so the bad syscall is because of stack_snapshot (#365) being unilaterally removed by AAPL without asking me. $#%#$%#$. I had a {perror(); exit();} which is why procexp exits. I just updated version so as to remove this; won't do stacks (yet, until I update to stack_snapshot_with_config), but won't exit either.

Re: procexp on macOS Sierra

PostPosted: Wed Sep 21, 2016 11:18 pm
by duncanyoyo1
Great information, thank you!