2006-09-07 16:14:53 +02:00
|
|
|
format ELF
|
2007-10-15 11:42:17 +02:00
|
|
|
;include "public_stdcall.inc"
|
|
|
|
|
|
|
|
public _ksys_get_process_table
|
|
|
|
|
2006-09-07 16:14:53 +02:00
|
|
|
section '.text' executable
|
2007-10-15 11:42:17 +02:00
|
|
|
|
|
|
|
_ksys_get_process_table:
|
2006-09-07 16:14:53 +02:00
|
|
|
;arg1 - pointer to information
|
|
|
|
;arg2 - pid
|
|
|
|
mov eax,9
|
|
|
|
mov ebx,[esp+4]
|
|
|
|
mov ecx,[esp+8]
|
|
|
|
int 0x40
|
2007-10-15 11:42:17 +02:00
|
|
|
|
2006-09-07 16:14:53 +02:00
|
|
|
ret 8
|