strange delphi artifact in PE header causes this bug

This commit is contained in:
Dima Turchenkov 2015-12-04 19:22:31 +03:00 committed by pancake
parent 75ea729679
commit d21d19c450

View File

@ -2377,9 +2377,12 @@ int PE_(r_bin_pe_is_pie)(struct PE_(r_bin_pe_obj_t)* bin) {
}
int PE_(r_bin_pe_is_big_endian)(struct PE_(r_bin_pe_obj_t)* bin) {
/*
if (!bin || !bin->nt_headers)
return false;
return HASCHR (PE_IMAGE_FILE_BYTES_REVERSED_HI);
*/
return false; // this flag is deprecated, see ms specs
}
int PE_(r_bin_pe_is_stripped_relocs)(struct PE_(r_bin_pe_obj_t)* bin) {