Demonstrate the difference between a normal build and an AddressSanitizer-instrumented build of a C++…
Demonstrate the difference between a normal build and an AddressSanitizer-instrumented build of a C++…: a task in Repo2RLEnv TerminalWorld (EuniAI) (Harbor dataset). Create a C++ source file at /workspace/test.cc containing a main function that reads beyond the bounds of a stack-allocated array…
The task
Create a C++ source file at `/workspace/test.cc` containing a `main` function that reads beyond the bounds of a stack-allocated array (using `argc` as an index offset to ensure the out-of-bounds access happens at runtime). Compile and run it normally to confirm it does not reliably catch the bug. Then compile the…
Part of FineEnvs/repo2rlenv-terminalworld.