> 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 00:54:50 up 10:30, 2 users, load average: 0.69, 0.65, 0.56
This commit is contained in:
parent
a20136aec5
commit
8513980668
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);
|
||||
FAILED_GOTO(failed_shstrtab, fread(shstrtab, sizeof(Elf32_Sym), section_header[header.e_shstrndx].sh_size, elf_file) <= 0);
|
||||
printf("%s", shstrtab);
|
||||
printf("%u", section_header[header.e_shstrndx].sh_offset);
|
||||
// if(symtab && strtab) break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue