Dynamic Analysis: Valgrind Memcheck for LLM Security Reasoning