summaryrefslogtreecommitdiff
path: root/test.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'test.lisp')
-rw-r--r--test.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.lisp b/test.lisp
new file mode 100644
index 0000000..4353ef3
--- /dev/null
+++ b/test.lisp
@@ -0,0 +1,7 @@
+(let ((elf (elf/new!)))
+ (print! elf)
+ (elf/write-header! elf
+ :type elf/TYPE_EXEC
+ :machine elf/MACHINE_AMD64)
+ (elf/spit! "test.elf" elf)
+ )