[Update] Remove unuse code

This commit is contained in:
xiaozhou233 committed 2025-11-03 19:23:13 +08:00
1 parent 3dc83d83db
commit 40707231c0
6 files changed
+2 -18

No files matched your search

-1
View File
@@ -29,7 +29,6 @@ set(INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/includes)
add_subdirectory(${INCLUDES}/ReflectiveDLLInjection)
add_subdirectory(${INCLUDES}/log.c)
add_subdirectory(${INCLUDES}/tomlc17)
add_subdirectory(src/utils)
include(cmake/JuiceModule.cmake)
-2
View File
@@ -23,7 +23,6 @@ function(add_juice_module NAME)
${CMAKE_SOURCE_DIR}/includes/log.c
"${CMAKE_SOURCE_DIR}/src/${NAME}/utils"
"${CMAKE_SOURCE_DIR}/src/${NAME}/include"
"${CMAKE_SOURCE_DIR}/src/utils"
)
# Link common libraries
@@ -31,7 +30,6 @@ function(add_juice_module NAME)
ReflectiveDLLInjection
log.c
jvm
utils
)
add_subdirectory("${CMAKE_SOURCE_DIR}/src/${NAME}")
File renamed without changes.
+1 -1
View File
@@ -12,7 +12,7 @@ Desc: Entry point for the agent
#include "jvmti.h"
#include "InjectParameters.h"
#include "log.h"
#include "GlobalUtils.h"
#include "jvmutils.h"
#include "shlwapi.h"
#include "tomlc17.h"
#include "datautils.h"
@@ -1,4 +1,4 @@
#include "./GlobalUtils.h"
#include "jvmutils.h"
// Get JavaVM
jint GetCreatedJVM(JavaVM **out_jvm) {
-13
View File
@@ -1,13 +0,0 @@
# src/utils/CMakeLists.txt
add_library(utils STATIC
JVMUtils.c)
target_include_directories(utils PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/includes
${CMAKE_SOURCE_DIR}/includes/jvm
${CMAKE_SOURCE_DIR}/includes/jvm/win32)
target_link_libraries(utils PRIVATE
jvm)