MCPcopy Create free account
hub / github.com/andrivet/ADVobfuscator / obfuscate_call1

Function obfuscate_call1

Examples/example/main.cpp:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void obfuscate_call1() {
158 using namespace std::string_literals;
159
160 constexpr auto random = call::generate_random(42);
161 const ObfuscatedCall call{random, &to_protect1};
162 const auto ret = call(random, "hello"s, 42);
163 std::cout << "Returned value: " << ret << '\n';
164}
165
166void obfuscate_call2() {
167 constexpr auto random = call::generate_random(43);

Callers 1

mainFunction · 0.85

Calls 1

generate_randomFunction · 0.50

Tested by

no test coverage detected