Nikita Smith
3bd89b1fad
switch over to new MD5 hash lib
2025-10-10 10:15:22 -07:00
Nikita Smith
81d747b8d7
fix process join
2025-09-29 18:05:11 -07:00
Nikita Smith and Ryan Fleury
20c92e0baf
speed up base reloc gather step and serialize pages in parallel
2025-09-24 12:42:17 -07:00
Nikita Smith and Ryan Fleury
0a930be613
use radsort for sorting base reloc pages
2025-09-24 12:42:17 -07:00
Nikita Smith
6b278e1ccc
parallelize image fill
2025-09-22 10:06:21 -07:00
Nikita Smith
e72512f638
switch over to 64-bit pointer tagging
2025-09-22 10:06:21 -07:00
Nikita Smith
4717701540
update threading API
2025-09-22 10:06:21 -07:00
Nikita Smith
872c387bad
let errors from MT to bubble up to linker's stdout and stderr
2025-09-22 10:06:21 -07:00
Nikita Smith
42999bea63
profile markup obj relocation patching
2025-09-22 10:06:21 -07:00
Nikita Smith
371e52ad42
add /rad_alt_pch_dir for remapping objs in the local folder for pgo builds
2025-09-22 10:06:21 -07:00
Nikita Smith
ce044e7e83
detect removed fixup symbol and propagate correct section number
2025-09-22 10:06:20 -07:00
Nikita Smith and Ryan Fleury
e33a95bfe2
do not embed time stamp with /brepro
2025-09-17 15:21:37 -07:00
Nikita Smith and Ryan Fleury
5a12513306
parallelize section garbage collection
...
currently we tag pointers to solve ABA problem however if the list
has more than max_U16 items, the tag will overflow and cause serious issues.
To fix this, we need to use 64-bit tags together with 128-bit interlocked
compare-exchange intrinsic
2025-09-17 15:21:37 -07:00
Nikita Smith and Ryan Fleury
630c3b42a7
do lightweight import gathering while resolving links
2025-09-17 15:21:37 -07:00
Nikita Smith and Ryan Fleury
d4ac5ede77
assign correct removed section type
2025-09-17 15:21:37 -07:00
Nikita Smith and Ryan Fleury
0b5dd92a87
minor tweaks
2025-09-17 15:21:37 -07:00
Nikita Smith and Ryan Fleury
ded932e3ba
skip library searches for import stubs
2025-09-17 15:21:37 -07:00
Nikita Smith and Ryan Fleury
4e1ebe5a6b
change import stub symbol characteristic to search alias to skip them
...
on subsequent searches
2025-09-17 15:21:37 -07:00
Nikita Smith and Ryan Fleury
80967fac12
pre-parse section names and flag debug info sections
2025-09-16 10:31:02 -07:00
Nikita Smith and Ryan Fleury
3224c5e0aa
skip linker info sections during relocation patching, also log a message
...
when encountering an unsupported machine type
2025-09-16 10:31:01 -07:00
Nikita Smith and Ryan Fleury
488849792c
change file search to return on first match
2025-09-16 10:31:01 -07:00
Nikita Smith and Ryan Fleury
7095a8cd6e
fix bug where new object tracking failed, causing certain objs to be
...
skipped during the symbol table input step
2025-09-16 10:31:01 -07:00
Nikita Smith and Ryan Fleury
b5a2bbaf54
early-out of default library searches
2025-09-16 10:31:01 -07:00
Nikita Smith and Ryan Fleury
c7c86cd360
do not report unresolved symbols in debug info sections
2025-09-16 10:31:01 -07:00
Nikita Smith and Ryan Fleury
b1609017c5
inline xxhash functions
2025-09-08 16:07:31 -07:00
Nikita Smith and Ryan Fleury
98a05728b3
add check for whether weak symbol is resolved
2025-09-08 16:07:31 -07:00
Nikita Smith and Ryan Fleury
ee3832ea3b
parallel for lib symbol search
2025-09-08 16:07:31 -07:00
Nikita Smith and Ryan Fleury
8f749f4239
use global symbol table to detect duplicate imports
2025-09-08 16:07:31 -07:00
Nikita Smith and Ryan Fleury
7cea036bc1
clean up pass over symbol table
...
- rename functions for consistency
- remove unused code
2025-09-08 16:07:31 -07:00
Nikita Smith and Ryan Fleury
069d683690
fix crash when obj does not have debug info
2025-09-06 09:54:23 -07:00
Nikita Smith and Ryan Fleury
a6432cce8e
improve unresolved symbol errors
...
- collect symbol references and print out objs that reference
unresolved symbol
- print source file location of the references
2025-09-06 09:54:23 -07:00
Nikita Smith and Ryan Fleury
d92f45784d
rename defined symbol to obj ref, as the symbol table no longer has
...
scopes and it makes no sense to refer to them that way
2025-09-06 09:54:22 -07:00
Nikita Smith and Ryan Fleury
21163264d4
redirect entry point to CRT version if name is inferred
2025-09-06 09:54:22 -07:00
Nikita Smith and Ryan Fleury
f2ee135439
fix up symbols visibility
2025-09-05 15:19:31 -07:00
Nikita Smith and Ryan Fleury
56c43ad614
clean up HashTable, removed unused command line switches, added
...
list wrapper for alt names, added natvis for HashTable, AltNameList,
MergeDirectiveList, and IncludeSymbolList
2025-09-05 15:19:31 -07:00
Nikita Smith and Ryan Fleury
6a3d7e65f3
remove year from the copyright
2025-09-05 15:19:31 -07:00
Nikita Smith and Ryan Fleury
e88dc44f31
clean up debug leftovers
2025-09-05 15:19:31 -07:00
Nikita Smith and Ryan Fleury
580303b0dd
emit jump thunks for imports only when needed
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
43e81b934b
move weak symbol replacer to the symbol table layer
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
8d75497bba
do not set function pad min switch by default
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
0b0a2664d1
merge .idata with .rdata
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
1aac27095e
WIP: reorder input and library search order to match MSVC behavior
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
d9eb26a830
infer subsystem when only entry point is specified
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
e1b7168605
update weak vs undefined replacement rule
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
d7cdaa98b5
oops forgot to set enum type
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
41fe8a7410
merge undefined and weak search passes
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
b64e1dca9a
WIP fix lib push order and sort new inputs
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
67e66dc26e
WIP switching to serial library search-style, removed lib scope from
...
the symbol table
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
330c8ead38
move member queue-attempt flag from symbol to lib struct
2025-09-05 15:19:30 -07:00
Nikita Smith and Ryan Fleury
89d496c855
fix replacement rule for weak search library vs undefined
2025-09-05 15:19:30 -07:00