Compare commits

..

No commits in common. "7bf5fb933d3269b3779e8bbe8fae3ca7b064cd07" and "eab1acb8f7aff843358cd093b1d1e34aa9a70c79" have entirely different histories.

8 changed files with 2618 additions and 478 deletions

Binary file not shown.

View File

@ -65,5 +65,3 @@
4617 5726 1726992200011900909 src/CMakeFiles/hook_aurora.dir/asmjit/x86/x86instapi.cpp.o 9e18ed1cc5f06e96
5726 5986 1726992200270899635 src/CMakeFiles/hook_aurora.dir/Tool.cpp.o fce4799b52de917
3151 3475 1726992197760911984 src/CMakeFiles/hook_aurora.dir/asmjit/core/string.cpp.o 6405a7c465fc575f
2 9386 1727087721582554199 src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o 5529abc50828be39
9386 10142 1727087722332550344 /dp_s/lib/libAurora.so a50e52f798c4dd0a

Binary file not shown.

View File

@ -90,7 +90,7 @@ static SQInteger L_HookFunc(HSQUIRRELVM v)
EXAMPLE_LISTENER(listener)->CallBackOnLeave = CallBackOnLeave;
gum_interceptor_begin_transaction(interceptor);
gum_interceptor_attach_listener(interceptor, GSIZE_TO_POINTER(FuncAddress), listener, GSIZE_TO_POINTER(FuncAddress));
gum_interceptor_attach(interceptor, GSIZE_TO_POINTER(FuncAddress), listener, GSIZE_TO_POINTER(FuncAddress));
gum_interceptor_end_transaction(interceptor);
sq_pushuserpointer(v, listener);
@ -104,7 +104,7 @@ static SQInteger L_DeHookFunc(HSQUIRRELVM v)
sq_getuserpointer(v, 2, &FuncAddress);
GumInvocationListener *listener = (GumInvocationListener *)FuncAddress;
gum_interceptor_detach_listener(interceptor, listener);
gum_interceptor_detach(interceptor, listener);
return 0;
}

File diff suppressed because it is too large Load Diff

View File

@ -46,7 +46,7 @@ ADD_LIBRARY(hook_aurora SHARED ${DIR_ASMJIT_LIB_SRCS} ${LIB_SOURCE})
SET_TARGET_PROPERTIES(hook_aurora PROPERTIES OUTPUT_NAME "Aurora")
target_link_libraries(hook_aurora libstdc++.a -L/home/dnf_project/dnf_project/build/lib/squirrel -lsqstdlib_static -L/home/dnf_project/dnf_project/build/lib/squirrel -lsquirrel_static -L/home/dnf_project/dnf_project/build/lib/mysql/lib libmysqlclient.a -lpthread -L/home/openssl/openssl-3.0.13 libssl.a -L/home/openssl/openssl-3.0.13 libcrypto.a -L/home/dnf_project/dnf_project/build/lib/frida libfrida-gum.a -ldl -pthread -lresolv libffi.a)
target_link_libraries(hook_aurora libstdc++.a -L/home/dnf_project/dnf_project/build/lib/squirrel -lsqstdlib_static -L/home/dnf_project/dnf_project/build/lib/squirrel -lsquirrel_static -L/home/dnf_project/dnf_project/build/lib/mysql/lib libmysqlclient.a -lpthread -L/home/openssl/openssl-3.0.13 libssl.a -L/home/openssl/openssl-3.0.13 libcrypto.a -L/home/dnf_project/dnf_project/build/lib/frida libfrida-gum.a -ldl -pthread -lresolv libffi.a )
# target_link_libraries(hook_aurora /usr/local/lib/libffi.a)
# ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>̬<EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɲ<EFBFBD><EFBFBD><EFBFBD>
# VERSION:<EFBFBD><EFBFBD>̬<EFBFBD><EFBFBD><EFBFBD><EFBFBD>SOVERSION:API<EFBFBD>