mmap: # as in ld-linux.so.2 or libc.so.6 mov %ebx,%edx mov $0x5a,%eax lea 0x4(%esp,1),%ebx int $0x80 # or call *%gs:0x10 mov %edx,%ebx cmp $0xfffff000,%eax ja error ret |
mmap: # as rewritten by tub during execution mov %ebx,%edx call __pre_mmap lea 0x4(%esp,1),%ebx int $0x80 # or call *%gs:0x10 mov %edx,%ebx call __post_mmap ja error ret |