22.04.2013 Views

dtrace-infiltrate

dtrace-infiltrate

dtrace-infiltrate

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

`ls`<br />

Uses getdirentries64() syscall.<br />

int getdirentries(int fd, char *buf,<br />

int nbytes, long *basep);<br />

Returns a series of dirent structs containing file info.<br />

I went with the directory ‘/tmp/…’<br />

Static location in the getdirentries buf (at the start<br />

due to .)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!