security - Hardening Flags for iOS Apps -


in regular c++ app, there hardening flags can set, have position independent executables, read-only relocations, stack protection etc.

usually, i'd use

cflags='-wl,-z,relro,-z,now -pie -fpie -fstack-protector-all -d_fortify_source=2 -o1' 

-fstack-protector-all -d_fortify_source=2 work in xcode (using llvm). there equivalent remaining flags? set them , got warning:

clang: warning: argument unused during compilation: '-pie' [-wunused- command-line-argument] clang: warning: argument unused during compilation: '-pie' [-wunused-command-line-argument] warning: unknown warning option '-w1,-z,relro,-z,now' [-wunknown-warning-option] 

especially pie , relro nice have.

in case there no equivalents - how come?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -