commit 359388ace42384c323ead5c6a262aa1dc934a175 Author: atdunbg Date: Mon Jun 22 10:39:40 2026 +0800 first commit diff --git a/.gdb_history b/.gdb_history new file mode 100644 index 0000000..26cc876 --- /dev/null +++ b/.gdb_history @@ -0,0 +1,4 @@ +break main +r +n +q diff --git a/README.md b/README.md new file mode 100644 index 0000000..134f631 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +hello wodld diff --git a/main.c b/main.c new file mode 100644 index 0000000..0e7ee06 --- /dev/null +++ b/main.c @@ -0,0 +1,19 @@ +__attribute__((section(".text"))) +char main[] = { + 0xeb, 0x0c, + 0x68, 0x65, 0x6c, 0x6c, 0x6f, + 0x20, 0x77, 0x6f, + 0x72, 0x6c, + 0x64, + 0x0a, + + 0x48, 0x8d, 0x35, 0xed, 0xff, 0xff, 0xff, + 0x48, 0xc7, 0xc0, 0x01, 0x00, 0x00, 0x00, + 0x48, 0xc7, 0xc2, 0x0c, 0x00, 0x00, 0x00, + 0x0f, 0x05, + 0x48, 0xc7, 0xc0, 0x3c, 0x00, 0x00, 0x00, + 0x48, 0xc7, 0xc7, 0x00, 0x00, 0x00, 0x00, + 0x0f, 0x05, + 0xc3, +}; +