termux-elf-cleaner: Use correct constant
This commit is contained in:
parent
a3d36771f2
commit
3725e48ba4
@ -82,7 +82,7 @@ bool process_elf(uint8_t* bytes, size_t elf_file_size, char const* file_name)
|
|||||||
section_header_entry->sh_type == SHT_GNU_verneed ||
|
section_header_entry->sh_type == SHT_GNU_verneed ||
|
||||||
section_header_entry->sh_type == SHT_GNU_versym) {
|
section_header_entry->sh_type == SHT_GNU_versym) {
|
||||||
printf("termux-elf-cleaner: Removing version section from '%s'\n", file_name);
|
printf("termux-elf-cleaner: Removing version section from '%s'\n", file_name);
|
||||||
section_header_entry->sh_type = SHN_UNDEF;
|
section_header_entry->sh_type = SHT_NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user