1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:37:47 +00:00

Import all this stuff into a single repo called Serenity.

This commit is contained in:
Andreas Kling 2018-10-10 11:53:07 +02:00
commit 5a30055157
67 changed files with 8836 additions and 0 deletions

29
ELFLoader/_test.cpp Normal file
View file

@ -0,0 +1,29 @@
#include <stdio.h>
extern "C" const char hello_string[] = "Hello World!";
extern "C" int foo()
{
volatile int i = 3;
i = 4;
return i;
}
extern "C" int bar()
{
return foo();
}
extern "C" int baz()
{
return bar();
}
extern "C" int EntryPoint()
{
puts(hello_string);
printf("abc!\n");
printf("def!\n");
return 10 + baz();
}