From b61244e681068c63414b295fa0cbef8f336b5276 Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Wed, 20 Nov 2024 15:15:51 +0000 Subject: [PATCH] Use bin_start for vtor_loc for bins --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index cd6af40..ca6895c 100644 --- a/main.cpp +++ b/main.cpp @@ -4684,7 +4684,7 @@ vector sign_guts_bin(iostream_memory_access in, private_t private_key, std::shared_ptr entry_point = new_block.get_item(); if (entry_point == nullptr) { std::shared_ptr vtor = new_block.get_item(); - uint32_t vtor_loc = 0x10000000; + uint32_t vtor_loc = bin_start; if (vtor != nullptr) { vtor_loc = vtor->addr; }