> 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 13:08:15 up 0:06, 2 users, load average: 0.31, 0.45, 0.25
This commit is contained in:
parent
32de3d30e5
commit
58254afb1c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ void init_elf(const char *path) {
|
|||
printf("strtab: %u %u\n", strtab->sh_size, strtab->sh_offset);
|
||||
}
|
||||
FAILED_GOTO(failed_shstrtab, fseek(elf_file, section_header[header.e_shstrndx].sh_offset, SEEK_SET) != 0);
|
||||
printf("%u", section_header[header.e_shstrndx].sh_offset);
|
||||
printf("%u\n", section_header[header.e_shstrndx].sh_offset);
|
||||
FAILED_GOTO(failed_shstrtab, fread(shstrtab, sizeof(Elf32_Sym), section_header[header.e_shstrndx].sh_size, elf_file) <= 0);
|
||||
// if(symtab && strtab) break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue