19 Commits

Author SHA1 Message Date
2d53a59399 brk, mmap, lseek 2026-03-10 16:41:05 +01:00
7a893076fb disassemble printf 2026-03-10 14:26:07 +01:00
4c7073657f Hello, World! 2026-03-09 17:12:28 +01:00
2252e1fa75 we can now execute crt0 2026-03-09 16:23:45 +01:00
20d8953220 we can now disassemble riscv64-linux-musl-gcc hello world! 2026-03-09 15:35:07 +01:00
cc868fa6ec 100 instructions 2026-03-09 15:26:41 +01:00
daad92956e fix pc for 2 byte instructions 2026-03-09 14:40:18 +01:00
1d8b889771 disassemble some of the C instructions 2026-03-09 13:10:08 +01:00
39df51900d use mmap for memory, implement gettimeofday, fix setup argc/argv/envp on the stack 2026-03-08 22:46:58 +01:00
bc29d79586 dont include funct* in the Ins struct 2026-03-08 21:56:04 +01:00
df7fc4ed63 2x speed up after decoding all instructions at exe load 2026-03-08 21:08:27 +01:00
8835034905 execute instructions using OP_TABLE 2026-03-08 20:39:32 +01:00
4792d454eb disassemble instructions using OP_TABLE 2026-03-08 20:11:43 +01:00
d335ec062f add op field to the Ins struct 2026-03-08 19:46:02 +01:00
0fa836ca4f try to isolate parsing into fetch_ins() 2026-03-08 19:08:49 +01:00
bf61965f61 move to C++23 for that sweet std::println 2026-03-08 18:22:15 +01:00
1705cbceeb copy the rest of the logic 2026-03-08 18:00:40 +01:00
3f62e1ec2b parse elf 2026-03-08 17:40:01 +01:00
f71784909b begin the C++ rewrite 2026-03-08 17:23:13 +01:00