Skip to content

Instantly share code, notes, and snippets.

@lamb-mei
Last active September 18, 2015 06:24
Show Gist options
  • Save lamb-mei/fa2da83faae5bdccff7c to your computer and use it in GitHub Desktop.
Save lamb-mei/fa2da83faae5bdccff7c to your computer and use it in GitHub Desktop.
防止被dylib hook
//在Build Settings中找到“Other Linker Flags”
-Wl,-sectcreate,__RESTRICT,__restrict,/dev/null
//XCCONFIG
OTHER_LDFLAGS= $(inherited) -Wl -sectcreate __RESTRICT __restrict /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment