- Ryujin now includes a component called Core, where the main obfuscator logic resides. It functions as an independent library that can be used anywhere. - RyujinConsole now operates by loading the RyujinCore library to run the obfuscator. - This is a preparation step for additional Ryujin components, such as a future Ryujin GUI and more features like passes and advanced obfuscation options.
15 lines
447 B
C++
15 lines
447 B
C++
#include "RyujinCore.hh"
|
|
|
|
RYUJINCORE_API BOOL __stdcall RunRyujinCore(const std::string& strInputFilePath, const std::string& strPdbFilePath, const std::string& strOutputFilePath, RyujinObfuscatorConfig& config) {
|
|
|
|
std::unique_ptr<Ryujin> ryujin = std::make_unique<Ryujin>(strInputFilePath, strPdbFilePath, strOutputFilePath);
|
|
|
|
ryujin.get()->listRyujinProcedures();
|
|
|
|
ryujin.get()->run(config);
|
|
|
|
ryujin.reset();
|
|
|
|
return TRUE;
|
|
}
|