File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -400,9 +400,9 @@ void test_il2cpp_api(Il2CppMetadataType type_info){
400400void il2cpp_api_init (void *handle) {
401401 LOGI (" il2cpp_handle: %p" , handle);
402402 init_il2cpp_api (handle);
403- if (il2cpp_domain_get_assemblies ) {
403+ if (il2cpp_capture_memory_snapshot ) {
404404 Dl_info dlInfo;
405- if (dladdr ((void *) il2cpp_domain_get_assemblies , &dlInfo)) {
405+ if (dladdr ((void *) il2cpp_capture_memory_snapshot , &dlInfo)) {
406406 il2cpp_base = reinterpret_cast <uint64_t >(dlInfo.dli_fbase );
407407 }
408408 LOGI (" il2cpp_base: %" PRIx64" " , il2cpp_base);
@@ -414,8 +414,8 @@ void il2cpp_api_init(void *handle) {
414414 LOGI (" Waiting for il2cpp_init..." );
415415 sleep (1 );
416416 }
417- auto domain = il2cpp_domain_get ();
418- il2cpp_thread_attach (domain);
417+ // auto domain = il2cpp_domain_get();
418+ // il2cpp_thread_attach(domain);
419419}
420420
421421void il2cpp_dump (const char *outDir) {
You can’t perform that action at this time.
0 commit comments