-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
9.0Android下,Java线程hook到了,很好.
但是我在jni代码中创建的native线程hook不到,代码如下:
`
pthread_t pthread;//线程对象
void *threadDoThings(void *data)
{
ALOG("jni thread do things");
pthread_exit(&pthread);
}
extern "C"
JNIEXPORT void JNICALL
Java_com_dodola_thread_ThreadHook_createNativeThread(JNIEnv *env, jclass type) {
pthread_create(&pthread, NULL, threadDoThings, NULL);
}
`
请问有啥办法能hook到native线程的创建吗 并且能拿到bakctrace最好.
Metadata
Metadata
Assignees
Labels
No labels