blob: a61d6d1fac05b9888becf2c244b20a9d6105315e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/** ===========================================
(C) Mahrouss Logic
===========================================*/
.section .text
.globl HcGetInstanceObject
.globl __assert_chk_fail
/* @brief Process object getter */
/* @throws: ApptError: appartement error. */
HcGetInstanceObject:
mov $0x10, %rcx /* sysGetProcessObject */
int $0x21
/* rax gets saved and returned. */
ret
__assert_chk_fail:
mov $0x11, %rcx /* sysTerminateCurrentProcess */
int $0x21
ret
|