Hacker News new | ask | show | jobs
by monocasa 2803 days ago
OK, it's a dtrace thing that got ported to FreeBSD with dtrace. That still doesn't make it "Unix" any more than Linux's proc access.

Embddeding debugging information in a way that allows to you to use it (ie. in a way that you'd care about the format as an end user) implies giving you kernel addresses, which implies an ASLR bypass. If it's an implementation detail, then DWARF works great.

2 comments

And if "FreeBSD has it too" is our standard for portable UNIX features, then /proc counts thanks to linprocfs.
/proc on Linux wasn't implemented like /proc is on other operating systems; it's the only /proc implemented that way. The interface, if it could even be called that, is completely proprietary to Linux; output is ad hoc with no consistency. As usual.
Again, which bypass? If you attach to a process you will see machine code and it will be stored at memory addresses.