flat assembler
Message board for the users of flat assembler.
Index
> Linux > sys_fork |
Author |
|
bazik 31 Jul 2003, 12:20
The correct pt_regs should look like this:
Code: struc pt_regs { .ebx dd 0 .ecx dd 0 .edx dd 0 .esi dd 0 .edi dd 0 .ebp dd 0 .eax dd 0 .xds dd 0 .xes dd 0 .orig_eax dd 0 .eip dd 0 .xcs dd 0 .eflags dd 0 .esp dd 0 .xss dd 0 } About the filling the structure... there is not much information about this. I'd say the best you can do is runing a recursive grep for "sys_fork" and/or "pt_regs" on the linux source tree. I bet you find usable info there. |
|||
31 Jul 2003, 12:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.