import { DMLog } from "../dmlog" ; author : xingjun.xyf
 *  contact file time desc export namespace AntiIOS { export function anti_ptrace ( ) { var ptrace = Module . findExportByName ( null , "ptrace" ) ; if ( null != ptrace ) { DMLog . i ( 'anti_ptrace' , "ptrace addr: " + ptrace ) ; Interceptor . replace ( ptrace , new NativeCallback ( function ( p1 , p2 , p3 , p4 ) { DMLog . i ( 'anti_ptrace' , 'entry' ) ; return 1 ; } , 'long' , [ 'int' , "int" , 'pointer' , 'pointer' ] ) ) ; } } }