diff --git a/plugins/apitracing/src/lib/TracedProcess.cpp b/plugins/apitracing/src/lib/TracedProcess.cpp index f5d18543..15d0373f 100755 --- a/plugins/apitracing/src/lib/TracedProcess.cpp +++ b/plugins/apitracing/src/lib/TracedProcess.cpp @@ -91,7 +91,7 @@ namespace ApiTracing : ConstantDefinitions::x64AddressWidth; auto definitions = functionDefinitions->getFunctionParameterDefinitions( moduleHookTarget.name, functionName, addressWidth); - auto extractor = std::make_shared(introspectionAPI, addressWidth); + auto extractor = std::make_shared(introspectionAPI, pluginInterface, addressWidth); auto functionHook = std::make_shared( moduleHookTarget.name, functionName, extractor, introspectionAPI, definitions, pluginInterface); functionHook->hookFunction(moduleBaseAddress, processInformation); diff --git a/plugins/apitracing/test/FunctionHook_UnitTest.cpp b/plugins/apitracing/test/FunctionHook_UnitTest.cpp index 5211eee1..ff5b9928 100644 --- a/plugins/apitracing/test/FunctionHook_UnitTest.cpp +++ b/plugins/apitracing/test/FunctionHook_UnitTest.cpp @@ -54,10 +54,11 @@ namespace ApiTracing std::shared_ptr extractor = std::make_shared>(); std::shared_ptr interruptEvent = std::make_shared>(); std::vector extractedParameterInformation{ - {.name = "TestInt0", .data = 0}, + {.name = "TestInt0", .data = 0, .backingParameters{}}, {.name = "TestInt1", .data = 3, - .backingParameters = {{.name = "TestInt2", .data = 4}, {.name = "TestString1", .data = "A"}}}}; + .backingParameters = {{.name = "TestInt2", .data = 4, .backingParameters{}}, + {.name = "TestString1", .data = "A", .backingParameters{}}}}}; void SetUp() override {