Skip to content

Commit

Permalink
Use bin_start for vtor_loc for bins
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Nov 20, 2024
1 parent 598dd94 commit 3157ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@ vector<uint8_t> sign_guts_bin(iostream_memory_access in, private_t private_key,
std::shared_ptr<entry_point_item> entry_point = new_block.get_item<entry_point_item>();
if (entry_point == nullptr) {
std::shared_ptr<vector_table_item> vtor = new_block.get_item<vector_table_item>();
uint32_t vtor_loc = 0x10000000;
uint32_t vtor_loc = bin_start;
if (vtor != nullptr) {
vtor_loc = vtor->addr;
}
Expand Down

0 comments on commit 3157ecf

Please sign in to comment.