Comment

Comment by saagarjha

Unrelated, but maybe someone might know the answer to this:

> To do this, we use a neat trick of parsing the /proc/[pid]/maps file for the target process to discover the base virtual address of the loaded program.

Is there any better way to do this? Everyone I know just parses /proc/pid/maps for detecting the slide but this seems so ugly…

parent saagarjha 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton