Hello all,
I know that the trampolines are the interface for the untrusted code to invoke system calls,
All trampolines are identical and responsible for certain syscall.
What I what to know is that is there information about where (offset or address) these trampolines exactly are?
Ex :
assume the entry point of trampoline_of_nacl_mkdir is at 0x1120
Then, I can translate some native code to the following assembly :
[guest]
;
;text section
;
call _
sys_mkdir-------------------------------------
[host]
-------------------------------------
;
;text section
;
mov eax dword[ds:ebx]
and eax, 0xffffffe0
call eax
-------------------------------------
;
;data section
;
20 11 00 00 ;trampoline of nacl_mkdir
Thanks in advance.