> 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:09:27 up 0:07, 2 users, load average: 0.39, 0.43, 0.26
This commit is contained in:
parent
58254afb1c
commit
f49c12e752
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ void init_elf(const char *path) {
|
|||
}
|
||||
FAILED_GOTO(failed_shstrtab, fseek(elf_file, section_header[header.e_shstrndx].sh_offset, SEEK_SET) != 0);
|
||||
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);
|
||||
FAILED_GOTO(failed_shstrtab, fread(shstrtab, section_header[header.e_shstrndx].sh_size, 1, elf_file) <= 0);
|
||||
// if(symtab && strtab) break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue