HomePhabricator

[sanitizer] AndroidGetApiLevel for static executables.

Description

[sanitizer] AndroidGetApiLevel for static executables.

A version of AndroidGetApiLevel for static executables that is
completely compile-time.

The generic version uses dl_iterate_phdr which, even though it works
in static executables, crashes if called before libc is initialized.

Details

Committed
eugenisSep 26 2018, 4:48 PM
Parents
rL343152: Remove trailing space in rC343150
Branches
Unknown
Tags
Unknown