NSVersionOfRunTimeLibrary

  • 语法
    int32_t NSVersionOfRunTimeLibrary(const char* libraryName);
    

反越狱检测

之前代码:

int32_t NSVersionOfRunTimeLibrary(const char* libraryName);

%hookf(int32_t, NSVersionOfRunTimeLibrary, const char* libraryName){
    int32_t rtLibVer = %orig;
    iosLogInfo("libraryName=%s -> rtLibVer=%d", libraryName, rtLibVer);
    return rtLibVer;
}

最新代码详见:

results matching ""

    No results matching ""