Skip to content

Commit 648fa7c

Browse files
update hash in config
1 parent 6612f4a commit 648fa7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/linker/lnk.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4097,6 +4097,7 @@ lnk_run(int argc, char **argv)
40974097
ProfBegin("Hash Image With Blake3");
40984098

40994099
U128 hash = lnk_blake3_hash_parallel(tp, 128, image_data);
4100+
MemoryCopy(&config->guid, hash.u64, sizeof(hash.u64));
41004101

41014102
U64 guid_foff = lnk_file_off_from_symbol(sect_id_map, guid_symbol);
41024103
OS_Guid *guid_ptr = (OS_Guid *)(image_data.str + guid_foff);

0 commit comments

Comments
 (0)