Closed 0xPhoeniX closed 4 years ago
https://github.com/qilingframework/qiling/blob/617bcee20c77c8940dcd9aaf867e9b27a4054812/qiling/os/posix/syscall/mman.py#L204
Hey, any reason for not using if mmap2_addr != 0 and ql.mem.is_mapped(mmap2_addr, mmap2_length) ?
if mmap2_addr != 0 and ql.mem.is_mapped(mmap2_addr, mmap2_length)
could be just ql.mem.is_mapped comes way after the original mmap.
please trow in a PR, thanks !
I've added PR.
there are two same PR. both is yours ?
No.
its ok. i am blind
https://github.com/qilingframework/qiling/blob/617bcee20c77c8940dcd9aaf867e9b27a4054812/qiling/os/posix/syscall/mman.py#L204
Hey, any reason for not using
if mmap2_addr != 0 and ql.mem.is_mapped(mmap2_addr, mmap2_length)
?