> ./mimick_sample
mimick: Could not find GOT entry for function malloc@self.
zsh: abort (core dumped) ./mimick_sample
Removing the call to mmk_reset prevents the error.
Running the second README example (e.i. calling mmk_reset passing the mock object returned by mmk_mock) succeeds.
Environment
CPU architecture: x86_64 Operating system: GNU/Linux Mimick version: 0.3.0
CMake configuration
Issue
Running the first README sample:
results in the following error:
Removing the call to
mmk_reset
prevents the error. Running the second README example (e.i. callingmmk_reset
passing the mock object returned bymmk_mock
) succeeds.