Skip to content

Commit

Permalink
compat class_linker offset
Browse files Browse the repository at this point in the history
  • Loading branch information
AlienwareHe committed Aug 9, 2022
1 parent efdb5db commit aa0b693
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 118 deletions.
1 change: 1 addition & 0 deletions hooklib/src/main/cpp/includes/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ static void clearCacheArm32(char* begin, char *end)
#define ANDROID_R 30
#define ANDROID_S 31
#define ANDROID_SL 32
#define ANDROID_T 33

#endif //SANDHOOK_ARCH_H
4 changes: 4 additions & 0 deletions hooklib/src/main/cpp/includes/hide_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ extern "C" {

ArtMethod* getArtMethod(JNIEnv *env, jobject method);

size_t OffsetOfJavaVm(bool has_small_irt);

void* getClassLinker();

void MakeInitializedClassVisibilyInitialized(void* self);

void addPendingHookNative(ArtMethod *method);
Expand Down
Loading

0 comments on commit aa0b693

Please sign in to comment.