> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
 15:46:42  up   2:52,  2 users,  load average: 1.00, 0.68, 0.44
This commit is contained in:
tracer-ysyx 2024-03-20 15:46:42 +08:00 committed by xinyangli
parent db76d96f05
commit 8f686c59d9

View file

@ -82,6 +82,8 @@ void init_elf(const char *path) {
func_t *f = &func_table[i];
printf("%s: 0x%x - 0x%x\n", f->name, f->start, f->start + f->len);
}
printf("%s\n", get_func(0x80000010)->name);
printf("%s\n", get_func(0x80000027)->name);
success = true;
failed:
for(int i = 0; i < func_table_len; i++) {