Dwarf-Therapist icon indicating copy to clipboard operation
Dwarf-Therapist copied to clipboard

Call glibc's mmap instead of syscall

Open Hello71 opened this issue 11 years ago • 0 comments

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.

Hello71 avatar Aug 21 '14 21:08 Hello71