A computer-implemented method for obtaining an access notification as part of a taint analysis when testing a software program, wherein the software program is executed on a hardware target, wherein the hardware target has a memory, wherein, during execution of the software program, the software program stores data at least in part of the memory, the method comprising the following steps:
- generating input data for the software program using a test module;
- transmitting the generated input data to the software program using the test module;
- monitoring at least one address of the memory using a debugger while the software program at least partially processes the transmitted input data;
- and
- transmitting an access notification to the test module when at least one access is detected at the at least one address of the monitored memory.