Skip to content

Instantly share code, notes, and snippets.

View noppefoxwolf's full-sized avatar
🐕
Thinking...

noppe noppefoxwolf

🐕
Thinking...
View GitHub Profile
@lawrencelomax
lawrencelomax / DYLD_INSERT_LIBRARIES Simulator Kernel Protection.md
Last active May 10, 2018 16:36
deny-mmap for DYLD_INSERT_LIBRARIES on Simulator Process

It looks like the Simulator.app binary is now signed as of Xcode 7 as the following occurs in instruments-without-delay when using the build script:

./build.sh test <SIMULATOR-UDID>

The message that we get from the kernel is: 7/23/15 12:22:52.000 PM kernel[0]: AMFI: Simulator(pid 72600) - [deny-mmap] mapped file has no team identifier and is not a platform binary: /Users/lawrencelomax/src/instruments-without-delay/build/SimShim.dylib

This causes a crash:

@uakihir0
uakihir0 / gist:4481432
Created January 8, 2013 05:17
TheWorld のテーマ設定で用いられているカラー暗号化の仕組みのコードです。 いつか、JSか何かでWebで綺麗に再現できるような支援機構を作ります。
// We Cannot Use "{" & "}" & ","
static NSString *_IndList[300] = {
@"⠀", @"⠁", @"⠂", @"⠃", @"⠄", @"⠅", @"⠆", @"⠇", @"⠈", @"⠉",
@"⠊", @"⠋", @"⠌", @"⠍", @"⠎", @"⠏", @"⠐", @"⠑", @"⠒", @"⠓",
@"⠔", @"⠕", @"⠖", @"⠗", @"⠘", @"⠙", @"⠚", @"⠛", @"⠜", @"⠝",
@"⠞", @"⠟",
@"⠠", @"⠡", @"⠢", @"⠣", @"⠤", @"⠥", @"⠦", @"⠧", @"⠨", @"⠩",
@jacobbubu
jacobbubu / ioslocaleidentifiers.csv
Created February 15, 2012 14:41
iOS Locale Identifiers
mr Marathi
bs Bosnian
ee_TG Ewe (Togo)
ms Malay
kam_KE Kamba (Kenya)
mt Maltese
ha Hausa
es_HN Spanish (Honduras)
ml_IN Malayalam (India)
ro_MD Romanian (Moldova)