File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77namespace WinSecRuntime {
88
9- bool Initialize (Mode mode, const secure::runtime::Config& cfg) {
9+ WINSECRUNTIME_API bool Initialize (Mode mode, const secure::runtime::Config& cfg) {
1010 (void )mode;
1111 (void )cfg;
1212 return true ;
1313}
1414
15- void StartIntegrityEngine (const Policy& p) {
15+ WINSECRUNTIME_API void StartIntegrityEngine (const Policy& p) {
1616#if SECURE_ENABLE_HEARTBEAT
1717 static secure::runtime::Heartbeat hb (5000 , nullptr , p.cfg );
1818 (void )hb;
1919#endif
2020}
2121
22- secure::Report RunAll (const Policy& p) {
22+ WINSECRUNTIME_API secure::Report RunAll (const Policy& p) {
2323 return secure::runtime::run_all_checks (p.cfg );
2424}
2525
26- void EnableAntiDebug (const Policy& p) {
26+ WINSECRUNTIME_API void EnableAntiDebug (const Policy& p) {
2727 (void )RunAll (p);
2828}
2929
30- void EnableHookGuard (const Policy& p) {
30+ WINSECRUNTIME_API void EnableHookGuard (const Policy& p) {
3131 (void )RunAll (p);
3232}
3333
You can’t perform that action at this time.
0 commit comments