Apple
include/mach-o/dyld-interposing.h
doorxp 发表于2017-08-09 浏览4185 评论0
/*
* Copyright (c) 2005-2008 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original&nbs
ObjC
shared library is loaded auto run
doorxp 发表于2017-08-09 浏览4348 评论0
It's run when a shared library is loaded, typically during program startup.1. before mainvoid tmain() __attribute__((constructor(101))){
printf("abc\n");
}2.module inittypedef void (IN