最終更新:2016-10-24 (月) 15:51:49 (2741d)  

APP_PIE
Top / APP_PIE

メモ

  • Starting from Android 4.1 (API level 16), Android's dynamic linker supports position-independent executables (PIE).
  • From Android 5.0 (API level 21), executables require PIE.
  • To use PIE to build your executables, set the -fPIE flag. This flag makes it harder to exploit memory corruption bugs by randomizing code location.
  • By default, ndk-build automatically sets this value to true if your project targets android-16 or higher. You may set it manually to either true or false.