Skip to content

Latest commit

 

History

History
 
 

Tools

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

#Tools

##ClangPlugin

WIP

This is a Plugin for Clang That, When Supported A Header, Automatically Generates a Module For It. Core is complete(hopefully bug-free), although more transform rules needs to be applied into WrapperGenerator() of WTFJH.cpp ###Usage

  1. Rename the folder into WTFJH

  2. Put it inside /PATH/TO/LLVM/SRC/tools/clang/examples

  3. Add add_subdirectory(WTFJH) To The End Of /PATH/TO/LLVM/SRC/tools/clang/examples/CMakeLists.txt

  4. Re-run CMake

  5. cd /PATH/TO/LLVM/BUILD/DIRECTORY

  6. run make or ninja,depends on your choice in CMake

  7. make or ninja + WTFJH

    e.x.: make WTFJH

  8. Check ClangPlugin/TestClang.sh on Sample of using this plugin

###Todo

  1. Add Generators for properties of a ObjC Class. Done!
  2. Add Support For C Functions Not gonna happen. Finding a place to insert the MSHookXXX() codes would be pain-in-ass

###Issues

  1. All char* are treated as NSString. Cuz length is unknown
  2. Type Support is far from complete

##RemoteLogger Remote Receive Logs. An SQL Database is formed. Check RemoteLogger/README.md

##WTFJHAnalyzer A bare clone of introspy-analyzer. I do have plan of implementing auto-generated Call-Sorting. Low priority though.