HF RL Explorer

Task: Implement a Clean Core Dump Trigger in C/C++

Task: Implement a Clean Core Dump Trigger in C/C++: a task in Terminal-Lego-15k (Harbor dataset). You need to create a C/C++ program that demonstrates the proper and clean way to programmatically cause a core dump at a specific location in the code. The goal is to find a cleaner alternative to…

The task

You need to create a C/C++ program that demonstrates the proper and clean way to programmatically cause a core dump at a specific location in the code. The goal is to find a cleaner alternative to using null pointer dereference tricks like:

Part of PrimeIntellect/Terminal-Lego-15k.