Commit Graph
479 Commits
Author SHA1 Message Date
Nikita SmithandRyan Fleury a2aab5967c add support for /DEBUG:GHASH 2026-04-22 09:30:45 -07:00
Nikita SmithandRyan Fleury 8cf14b5acb minor fix 2026-04-20 15:28:12 -07:00
Nikita Smith d607d6377d build fixes 2026-04-20 11:00:54 -07:00
Nikita Smith 0a791e5876 add support for LLVM ghash sections 2026-04-20 10:39:50 -07:00
Nikita Smith e6f49aaded test stripped PDB 2026-04-20 10:39:50 -07:00
Nikita Smith 270d73220f test GSI 2026-04-16 16:46:53 -07:00
Nikita Smith 217b761c9b build GSI and PSI before DBI 2026-04-16 16:43:04 -07:00
Nikita Smith 9bf0f77391 size in symbol header was incorrectly including alignment bytes 2026-04-16 16:42:22 -07:00
Nikita Smith d0364dc39c minor fixes for handling cyclic and corrupted types 2026-04-15 15:32:51 -07:00
Nikita Smith 18f468bc97 os_process_join closes handle 2026-04-15 15:32:51 -07:00
Nikita Smith ae99355c1d shift upper type index bound 2026-04-15 15:32:51 -07:00
Nikita Smith d1d42102dd discard trailing free page maps 2026-04-15 15:32:51 -07:00
Nikita Smith 5f3e7e7175 whoops proc refences were pointing to stale symbols
ideally linker parse module streams for proc references
2026-04-15 15:32:51 -07:00
Nikita Smith 294ede01a2 skip empty hash table adjuster 2026-04-11 14:16:13 -07:00
Nikita Smith 0299b6922f sort global symbols deterministically within GSI bucket 2026-04-11 13:42:30 -07:00
Nikita Smith 1839187a3c sort records must be rebased 2026-04-11 13:41:44 -07:00
Nikita Smith 40763c06cf swap dynamic and static libs 2026-04-11 12:50:41 -07:00
Nikita Smith 89a5acba2c WIP stripped PDB 2026-04-10 17:02:04 -07:00
Nikita Smith b4bbc38ab2 validate info stream 2026-04-10 17:02:04 -07:00
Nikita Smith c5dc7bee3e fix info stream layout 2026-04-10 17:02:04 -07:00
Nikita Smith 44d09410eb bugfix global symbol dedup 2026-04-07 10:49:48 -07:00
Nikita Smith e54bef58df implement /INFERASANLIBS 2026-04-06 22:18:26 -07:00
Nikita Smith 3bb8983461 implement /WHOLEARCHIVE 2026-04-06 14:35:46 -07:00
Nikita Smith aad1805124 make GSI and PSI serialization deterministic 2026-04-06 12:04:33 -07:00
Nikita Smith 608a0df058 fix race in the type merger 2026-04-06 12:04:33 -07:00
Nikita Smith 232815dbe6 branchless compact 2026-04-06 12:04:33 -07:00
Nikita Smith 85ec2c6317 remove vestige *open functionality from the MSF and PDB 2026-04-06 12:04:33 -07:00
Nikita Smith f69532e11d tweak thread broadcasting and balance symbol inputs 2026-04-06 12:04:33 -07:00
Nikita Smith 77ece3193e fix clang /O2 2026-04-06 12:04:32 -07:00
Nikita Smith f72d127aaa report unknown directives in debug build 2026-04-06 12:04:32 -07:00
Nikita Smith 129f0326f7 use thread broadcasts to simplify global symbol mover 2026-04-06 12:04:32 -07:00
Nikita Smith e9ac0abdf9 thread broadcast 2026-04-06 12:04:32 -07:00
Nikita Smith ef712a36e7 minor bugfix 2026-04-06 12:04:32 -07:00
Nikita Smith 99335959b0 ignore invalid type index errors in release 2026-04-06 12:04:32 -07:00
Nikita Smith b5f0862a91 fixup file checksums in the MSF streams 2026-04-06 12:04:32 -07:00
Nikita Smith 30e21a84ea arena helper for dealing with buffer preallocation for workers 2026-04-06 12:04:32 -07:00
Nikita Smith 46243548f3 fixup symbol tree offsets in module stream 2026-04-06 12:04:32 -07:00
Nikita Smith d7cfd5f55a WIP rework GSI and PSI symbol writer 2026-04-06 12:04:32 -07:00
Nikita Smith 883935d44e WIP simplifying module stream layout step 2026-04-06 12:04:32 -07:00
Nikita Smith f7ac6767cf WIP symbol plumbing 2026-04-06 12:04:32 -07:00
Nikita Smith e0c6df710f WIP change symbol extraction approach 2026-04-06 12:04:31 -07:00
Nikita Smith 91b50bab00 no need to validate signature in S_OBJ; discard debug info if PCH
is missing instead of exiting
2026-04-06 12:04:31 -07:00
Nikita Smith 44a0efd207 test mismatched PCH signatures and presence of .debug$P and .debug$T in
same obj
2026-04-06 12:04:31 -07:00
Nikita Smith 8a1203ed35 add mutex around fprintf to linearize log 2026-04-06 12:04:31 -07:00
Nikita Smith d1594f796d fix type source for PCH type indices 2026-04-06 12:04:31 -07:00
Nikita Smith c0418b736d WIP: internal and external type servers are functioning except for the
PCH indirection
2026-04-06 12:04:31 -07:00
Nikita Smith 401ba47ac2 telemetry mark up 2026-04-06 12:04:31 -07:00
Nikita Smith 1c6baf18f2 msf_parsed_from_data now always returns non-null result 2026-03-04 11:41:51 -08:00
Ryan Fleury 4312ee14fd first pass at (rdi -> loose rdim) path, used in (rdi * ... * rdi) -> rdi joining in radbin; plug in regular conversion path before voff -> line & breakpad paths in radbin, such that PDBs, DWARFs, RDIs, etc. can be used as input; fix up voff -> line path to plug into regular output systems; remove String8 union thing - three reasons: (a) it was only ever introduced for convenience in Linux layers, so let's just keep zero-terminated Linux nonsense in Linux land, (b) it was just alternate syntax for a cast, so let's just cast, (c) it was misleading - 'cstr' implies null-termination, which String8 of course doesn't guarantee. this led to some misuses, where .cstr was trusted to be zero-terminated, when that was not necessarily true (semaphore opening). 2026-03-03 16:24:54 -08:00
Nikita Smith eb8fd11b20 input for hashing external leaves was assuming different array layout 2026-02-23 13:55:04 -08:00