mirror of
https://github.com/rizinorg/shellforge4.git
synced 2026-11-09 17:51:31 -10:00
17 lines
187 B
C
Executable File
17 lines
187 B
C
Executable File
/*
|
|
* ShellForge example: Hello world with pusha/popa
|
|
* $Id$
|
|
*/
|
|
|
|
#define STR "Hello world!\n"
|
|
|
|
int main(void)
|
|
{
|
|
__asm__("pusha");
|
|
|
|
write(1, STR, sizeof(STR));
|
|
|
|
__asm__("popa");
|
|
}
|
|
|