From 4dd85fd6ecd9a67e5c2b68380873e6e114714355 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 05:30:57 +0000 Subject: feat(memory): add tracked MALLOC and FREE builtins Co-Authored-By: Claude Fable 5.1 --- tests/i/memory-allocation/expected.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/i/memory-allocation/expected.txt (limited to 'tests/i/memory-allocation/expected.txt') diff --git a/tests/i/memory-allocation/expected.txt b/tests/i/memory-allocation/expected.txt new file mode 100644 index 0000000..330c9ba --- /dev/null +++ b/tests/i/memory-allocation/expected.txt @@ -0,0 +1,14 @@ +TRUE +TRUE +42 +11:22 +TRUE +[Fatal] line 34: Invalid memory address (not an active allocation) +double free caught +[Fatal] line 40: Invalid memory address (not an active allocation) +stack address caught +[Fatal] line 48: Invalid memory address (not an active allocation) +interior address caught +[Fatal] line 54: Memory allocation failed +allocation failure caught +99 -- cgit v1.3.1-4-g156e