From b496fedea81eaab41b9545baaa708baf9129d0e8 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 10 Jan 2022 22:15:05 +0100 Subject: [PATCH] tests: Fixed pointer test --- .../include/test_patterns/test_pattern_pointers.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pattern_language/include/test_patterns/test_pattern_pointers.hpp b/tests/pattern_language/include/test_patterns/test_pattern_pointers.hpp index c82f6de4c..3ebc802eb 100644 --- a/tests/pattern_language/include/test_patterns/test_pattern_pointers.hpp +++ b/tests/pattern_language/include/test_patterns/test_pattern_pointers.hpp @@ -10,6 +10,8 @@ namespace hex::test { // placementPointer { auto placementPointer = create("", "placementPointer", 0x0C, sizeof(u8), nullptr); + placementPointer->setPointedAtAddress(0x49); + auto pointedTo = create("u32", "", 0x49, sizeof(u32), nullptr); placementPointer->setPointedAtPattern(pointedTo); addPattern(placementPointer);