Skip to content

josephdove/cafeswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swapping Java functions on runtime with CafeSwap

License: MIT

Overview

This project is insipred by SystematicSkid's java JIT hooks project, it allows you to swap a function with another function on runtime, letting you, with reflection, add "hooks" anywhere in the code.

Requirements

  • A java application to hook
  • Knowledge of the class and method name/signature to hook
  • Address of CompileBroker::compile_method

Dependencies

This project uses minhook to hook to the compile_method function.

Building

To build the project, open the project in visual studio, change the Linker and the C/C++ options to include all the headers and libraries of Java.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Java runtime function swapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published