mirror of
https://github.com/mirkobrombin/raven.git
synced 2026-10-26 21:17:40 +00:00
20 lines
350 B
C
20 lines
350 B
C
__attribute__((naked)) unsigned int GetLastError(void)
|
|
{
|
|
__asm__("int3; ret");
|
|
}
|
|
|
|
__attribute__((naked)) void SetLastError(unsigned int error)
|
|
{
|
|
__asm__("int3; ret");
|
|
}
|
|
|
|
__attribute__((naked)) unsigned int GetCurrentProcessId(void)
|
|
{
|
|
__asm__("int3; ret");
|
|
}
|
|
|
|
__attribute__((naked)) unsigned int GetCurrentThreadId(void)
|
|
{
|
|
__asm__("int3; ret");
|
|
}
|