mit einem Klick
valgrind
Valgrind skill for the ikigai project
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Valgrind skill for the ikigai project
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
Automated quality check loops with escalation and fix sub-agents
JSON-based end-to-end test format, runner, and mock provider
Jujutsu (jj) skill for the ikigai project
How to write effective Ralph goals for Ikigai-driven workflows
Create and manage Ralph goals from Ikigai using the real ralph-pipeline scripts
Create repositories using the real ralph-pipeline repo-create script
| name | valgrind |
| description | Valgrind skill for the ikigai project |
Interpreting Valgrind memcheck output for memory debugging.
# Via check script (never run make directly)
check-valgrind
# Direct invocation
valgrind --leak-check=full --track-origins=yes ./ikigai
==12345== Invalid read of size 4
==12345== at 0x... function_name (file.c:42)
==12345== Address 0x... is 0 bytes after a block of size 100 alloc'd
Meaning: Reading/writing past buffer bounds or freed memory. Fix: Check array indices, buffer sizes, use-after-free.
==12345== Conditional jump or move depends on uninitialised value(s)
==12345== at 0x... function_name (file.c:42)
==12345== Uninitialised value was created by a heap allocation
==12345== at 0x... malloc (...)
Meaning: Using memory before setting it.
Fix: Initialize variables, use memset, check all code paths.
==12345== Invalid free() / delete / delete[]
==12345== at 0x... free (...)
==12345== Address 0x... is 0 bytes inside a block of size 100 free'd
Meaning: Double-free or freeing invalid pointer. Fix: Track ownership, use talloc's hierarchical free.
==12345== LEAK SUMMARY:
==12345== definitely lost: 100 bytes in 1 blocks
==12345== indirectly lost: 200 bytes in 2 blocks
==12345== possibly lost: 0 bytes in 0 blocks
==12345== still reachable: 500 bytes in 5 blocks
--leak-check=full # Detailed leak info
--track-origins=yes # Where uninitialized values came from
--show-reachable=yes # Show still-reachable blocks
--suppressions=file.supp # Ignore known issues
--gen-suppressions=all # Generate suppression entries
==12345== Invalid read of size 4
==12345== at 0x401234: parse_json (parser.c:142)
==12345== by 0x401567: load_config (config.c:89)
==12345== by 0x401890: main (main.c:23)
Read bottom-up: main called load_config called parse_json where error occurred.
valgrind --tool=helgrind ./ikigai
Detects:
/load gdbserver for live debugging/load coredump for crash analysis