File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,6 @@ bool ElfReader::VerifyElfHeader() {
298
298
}
299
299
300
300
if (header_.e_shentsize != sizeof (ElfW (Shdr))) {
301
- // Fail if app is targeting Android O or above
302
301
if (get_application_target_sdk_version () >= 26 ) {
303
302
DL_ERR_AND_LOG (" \" %s\" has unsupported e_shentsize: 0x%x (expected 0x%zx)" ,
304
303
name_.c_str (), header_.e_shentsize , sizeof (ElfW (Shdr)));
@@ -312,12 +311,10 @@ bool ElfReader::VerifyElfHeader() {
312
311
}
313
312
314
313
if (header_.e_shstrndx == 0 ) {
315
- // Fail if app is targeting Android O or above
316
314
if (get_application_target_sdk_version () >= 26 ) {
317
315
DL_ERR_AND_LOG (" \" %s\" has invalid e_shstrndx" , name_.c_str ());
318
316
return false ;
319
317
}
320
-
321
318
DL_WARN_documented_change (26 ,
322
319
" invalid-elf-header_section-headers-enforced-for-api-level-26" ,
323
320
" \" %s\" has invalid e_shstrndx" , name_.c_str ());
You can’t perform that action at this time.
0 commit comments