All pastes #272692 Raw Edit

Something

public text v1 · immutable
·published 2006-12-09 05:26 UTC
rendered paste body
      __asm__ volatile (
         "push %%ebx\n"        \
         "push %%ebp\n"        \
         "movl %%eax, %%ebp\n" \
         "movl %2, %%eax\n"    \
         "movl %3, %%ebx\n"    \
         "int $0x90\n"         \
         "pop %%ebp\n"         \
         "pop %%esi\n"         \
         "xchgl %%ebx, %%esi\n"
         : /*output:*/
         "=a" (rc),
         "=S" (linuxrc)
         : /*input:*/
         "i" (1)
         ,"m" (filePath)
         ,"c" (argv)
         ,"d" (envp)
         ,"S" ((uint32)stdinFd)
         ,"D" ((uint32)stdoutFd)
         ,"0" (&vmkernel__onStackArgs)
      );