Dwarf-Therapist
Dwarf-Therapist copied to clipboard
Call glibc's mmap instead of syscall
it would be cleaner to make a stack frame and set EIP into glibc's mmap instead of scanning and injecting memory to do a syscall.
that sounds like a lot of work though, and might be even less portable (if that were even possible) than the current solution.
it also probably won't be faster, and might even be slower. I doubt a single 32 KB read accounts for much of the time used.
maybe a far-in-the-future enhancement.