[Bcore] Compatible with case sensitive system

pull/30/head
CallMESuper 3 years ago
parent b61d0860cf
commit 844328eb31
  1. 1
      Bcore/src/main/cpp/CMakeLists.txt
  2. 6
      Bcore/src/main/cpp/VmCore.cpp
  3. 2
      Bcore/src/main/cpp/hook/ProcessHook.cpp
  4. 2
      Bcore/src/main/cpp/hook/UnixFileSystemHook.cpp
  5. 3
      Bcore/src/main/cpp/hook/VMClassLoaderHook.cpp
  6. 2
      Bcore/src/main/cpp/jnihook/JniHook.cpp
  7. 4
      Bcore/src/main/cpp/utils/HexDump.cpp
  8. 2
      Bcore/src/main/cpp/ziparchive/zip_writer.cc

@ -16,6 +16,7 @@ add_subdirectory(${DOBBY_SOURCE_DIR} blackdex_d.out)
# Gradle automatically packages shared libraries with your APK. # Gradle automatically packages shared libraries with your APK.
include_directories( dex ) include_directories( dex )
include_directories( base ) include_directories( base )
include_directories( jnihook )
include_directories( ./ ) include_directories( ./ )
aux_source_directory(./ SRC7) aux_source_directory(./ SRC7)

@ -6,13 +6,13 @@
#include "utils/Log.h" #include "utils/Log.h"
#include "IO.h" #include "IO.h"
#include <jni.h> #include <jni.h>
#include <jniHook/JniHook.h> #include <JniHook.h>
#include <jniHook/ArtM.h> #include <ArtM.h>
#include <hook/ProcessHook.h> #include <hook/ProcessHook.h>
#include <hook/VMClassLoaderHook.h> #include <hook/VMClassLoaderHook.h>
#include <hook/UnixFileSystemHook.h> #include <hook/UnixFileSystemHook.h>
#include "DexDump.h" #include "DexDump.h"
#include "Utils/HexDump.h" #include "utils/HexDump.h"
#import "xhook/xhook.h" #import "xhook/xhook.h"
struct { struct {

@ -4,7 +4,7 @@
#include <sys/types.h> #include <sys/types.h>
#include "ProcessHook.h" #include "ProcessHook.h"
#import "jniHook/JniHook.h" #import <JniHook.h>
#import "utils/Log.h" #import "utils/Log.h"
#import "xhook/xhook.h" #import "xhook/xhook.h"

@ -4,7 +4,7 @@
#include <IO.h> #include <IO.h>
#include "UnixFileSystemHook.h" #include "UnixFileSystemHook.h"
#import "jniHook/JniHook.h" #import <JniHook.h>
/* /*
* Class: java_io_UnixFileSystem * Class: java_io_UnixFileSystem

@ -8,7 +8,8 @@
#include <cstring> #include <cstring>
#include "VMClassLoaderHook.h" #include "VMClassLoaderHook.h"
#import "jniHook/jniHook.h" #include <JniHook.h>
static bool hideXposedClass = false; static bool hideXposedClass = false;
HOOK_JNI(jobject, findLoadedClass, JNIEnv *env, jobject obj, jobject class_loader, jstring name) { HOOK_JNI(jobject, findLoadedClass, JNIEnv *env, jobject obj, jobject class_loader, jstring name) {

@ -3,10 +3,10 @@
// //
#include <jni.h> #include <jni.h>
#include "jniHook.h"
#include "utils/Log.h" #include "utils/Log.h"
#include "Art.h" #include "Art.h"
#include "ArtM.h" #include "ArtM.h"
#include "JniHook.h"
static struct { static struct {
int api_level; int api_level;

@ -3,9 +3,9 @@
// //
#include <jni.h> #include <jni.h>
#include <stdio.h> #include <cstdio>
#include "HexDump.h" #include "HexDump.h"
#include "log.h" #include "Log.h"
void HexDump(char *buf, int len, int addr) { void HexDump(char *buf, int len, int addr) {
int i, j, k; int i, j, k;

@ -27,7 +27,7 @@
#include "android-base/logging.h" #include "android-base/logging.h"
#include "utils/Compat.h" #include "utils/Compat.h"
#include "android/Log.h" //#include "android/Log.h"
#include "entry_name_utils-inl.h" #include "entry_name_utils-inl.h"
#include "zip_archive_common.h" #include "zip_archive_common.h"

Loading…
Cancel
Save