MCPcopy Create free account
hub / github.com/anthropics/defending-code-reference-harness / test_write_overflow

Function test_write_overflow

tests/test_asan.py:55–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54
55def test_write_overflow():
56 r = crash_reason(ASAN_OVERFLOW_WRITE)
57 assert r == {"crash_type": "stack-buffer-overflow", "operation": "WRITE"}
58
59
60def test_segv_write_op():

Callers

nothing calls this directly

Calls 1

crash_reasonFunction · 0.90

Tested by

no test coverage detected