Commit Graph

  • 91ddd214b3 fix string to U64 conversion Nikita Smith 2025-06-23 14:21:44 -07:00
  • a954c2125c merge fixups Nikita Smith 2025-06-23 14:21:20 -07:00
  • fcb06579a4 collapse symbol scope and symbol type enums Nikita Smith 2025-06-23 13:13:34 -07:00
  • b1723ce066 gracefully handle invalid libs Nikita Smith 2025-06-23 11:03:48 -07:00
  • 2ba9f2a61b fix uinited var warning Nikita Smith 2025-06-20 13:07:07 -07:00
  • 153d78ec6a unpoison memory-mapped files Nikita Smith 2025-06-20 13:03:01 -07:00
  • 790c95fc80 organization pass over symbol table files Nikita Smith 2025-06-20 13:02:50 -07:00
  • 7120d0c1a4 share memory mapped files Nikita Smith 2025-06-19 21:53:21 -07:00
  • 2fbaafa32c parallel compute common block Nikita Smith 2025-06-19 21:52:52 -07:00
  • a395398bdf remove global variable for null section contrib Nikita Smith 2025-06-19 16:17:53 -07:00
  • f5b19675cb merge conflict Nikita Smith 2025-06-19 16:39:12 -07:00
  • 0aadf60359 update code block dividers Nikita Smith 2025-06-19 15:26:40 -07:00
  • 46663688e2 on read memory map files Nikita Smith 2025-06-19 15:12:18 -07:00
  • 16e72fd573 remove unused switch Nikita Smith 2025-06-18 20:08:29 -07:00
  • 6b3a63f474 correct task name for weak symbol patch Nikita Smith 2025-06-18 14:09:44 -07:00
  • 65095437b7 allow forward reference tag symbols Nikita Smith 2025-06-18 14:01:09 -07:00
  • e487fbc494 minor torture fixes Nikita Smith 2025-06-18 14:00:02 -07:00
  • ba326924ee test for relocation against removed COMDAT Nikita Smith 2025-06-18 12:27:09 -07:00
  • ad3e6e0b79 pipe obj reads through IO layer Nikita Smith 2025-06-17 21:39:55 -07:00
  • 4c972c0fba handle COMDAT symbols with non-zero section offset Nikita Smith 2025-06-17 16:46:38 -07:00
  • 422829b196 print align and debug sections Nikita Smith 2025-06-16 14:49:48 -07:00
  • bddf088df1 collect type indices in L_THREAD32 Nikita Smith 2025-06-16 12:11:21 -07:00
  • c7d6145ec9 print section contributions in RAD_MAP Nikita Smith 2025-06-15 20:50:42 -07:00
  • 1fde5a5120 linker natvis Nikita Smith 2025-06-15 13:40:26 -07:00
  • 06e844abaa remove default delay bind table Nikita Smith 2025-06-15 13:40:20 -07:00
  • 048600260c special case fill for bss contribs Nikita Smith 2025-06-15 13:40:10 -07:00
  • a4b4d5799a fixes for delay import by ordinal and null terminate ILT, IAT, BIAT, and UIAT Nikita Smith 2025-06-15 13:39:41 -07:00
  • 8ba64238a2 delay load test Nikita Smith 2025-06-15 13:38:36 -07:00
  • 3c4edba465 validate section flags on merge Nikita Smith 2025-06-15 13:38:20 -07:00
  • cccbbfc74c do not patch debug section symbols and patch replaced COMDATs in separate pass Nikita Smith 2025-06-12 14:45:24 -07:00
  • b19be0574c function pad min - final pass over Nikita Smith 2025-06-11 14:56:07 -07:00
  • bbb825adf4 extract hotpatch flag from compile symbol Nikita Smith 2025-06-11 09:08:31 -07:00
  • a5119e3b51 WIP function pad min Nikita Smith 2025-06-10 19:38:43 -07:00
  • d7b8de5998 test empty section and section with removed flag Nikita Smith 2025-06-10 16:28:19 -07:00
  • 5fb0d978b9 WIP function pad min Nikita Smith 2025-06-10 10:03:48 -07:00
  • 9d93eda3ed simplify section table Nikita Smith 2025-06-09 17:02:37 -07:00
  • ecdee57c60 move helpers to COFF layer Nikita Smith 2025-06-09 16:58:51 -07:00
  • a484906cf9 create section contribution for common block Nikita Smith 2025-06-09 14:08:37 -07:00
  • 95bea877ab merge .bss with custom section to simplify linker output verification Nikita Smith 2025-06-06 20:09:37 -07:00
  • 15836572f4 factor out section sort index into contribution chunk and simplify contribution sorting Nikita Smith 2025-06-06 19:50:13 -07:00
  • f64265aafe typo in contrib sort Nikita Smith 2025-06-06 10:44:52 -07:00
  • 246bbf1e23 fix common block patch Nikita Smith 2025-06-06 10:44:46 -07:00
  • 490b22f6f9 put common blocks in .bss Nikita Smith 2025-06-06 10:44:29 -07:00
  • 626d94104d atomic contrib push Nikita Smith 2025-06-06 08:52:47 -07:00
  • b3aadbd49a store first data node in section contrib Nikita Smith 2025-06-06 08:52:41 -07:00
  • 3fb5e21d73 profiler markup Nikita Smith 2025-06-06 08:51:45 -07:00
  • 439fd0324d typos Nikita Smith 2025-06-06 08:51:19 -07:00
  • 75d02f1c1e check symbol presence using stable name pointer Nikita Smith 2025-06-06 08:50:25 -07:00
  • 5fd06f4466 do not push section contribs for sections without bytes Nikita Smith 2025-06-06 08:49:42 -07:00
  • af00acd0f5 add missing symbol replacement logic Nikita Smith 2025-06-06 08:48:56 -07:00
  • 205723f8d6 parallelize symbol tables patching Nikita Smith 2025-06-06 08:48:21 -07:00
  • d604456def align sizeofs Nikita Smith 2025-06-02 16:04:17 -07:00
  • 32a22779da fix run Nikita Smith 2025-06-02 13:45:17 -07:00
  • 7d77210a5f run test after build Nikita Smith 2025-06-02 13:40:09 -07:00
  • 25710d39b7 test optional header fields Nikita Smith 2025-06-02 13:39:32 -07:00
  • fe967a3d36 more validity checks in simple_link_test Nikita Smith 2025-06-02 12:00:23 -07:00
  • c4a36f73dc redirect stdout and stderr to a file Nikita Smith 2025-06-02 11:49:58 -07:00
  • 1c08db2705 move image, import lib, and debug info builders outside of the state machine Nikita Smith 2025-06-02 00:11:02 -07:00
  • e971db7fdd remove unused layout flag in section struct Nikita Smith 2025-06-01 19:39:43 -07:00
  • 47ef37ed8e fix section order Nikita Smith 2025-06-02 00:08:12 -07:00
  • 881050addf add default merges and section removes Nikita Smith 2025-06-01 19:36:57 -07:00
  • a4b2d40d15 fix sizeof section headers Nikita Smith 2025-06-01 19:36:37 -07:00
  • 578a7ebdee factor out pdata code to PE layer Nikita Smith 2025-06-01 19:36:01 -07:00
  • f055267e59 remove double init and equip of thread contexts Nikita Smith 2025-06-01 18:05:19 -07:00
  • aae3874521 disable TLS merge for now Nikita Smith 2025-06-01 18:04:46 -07:00
  • c82b98cd49 assign section index to .reloc Nikita Smith 2025-05-29 23:07:18 -07:00
  • e1278a6545 null terminate static imports Nikita Smith 2025-05-29 23:03:15 -07:00
  • e65d1536b6 dynamic loader crashes if the import data is not in a stand-alone section Nikita Smith 2025-05-29 23:02:36 -07:00
  • 54e7f9aafc appease ASAN Nikita Smith 2025-05-29 20:50:38 -07:00
  • 1c656979d2 move MSVC lib symbols to CRT layer Nikita Smith 2025-05-29 18:26:13 -07:00
  • 47e123221a minor fixes Nikita Smith 2025-05-29 16:22:20 -07:00
  • 86556c68ed point TLS directory to TLS header Nikita Smith 2025-05-29 18:22:09 -07:00
  • 3d2b1e19e3 handle communal var vs regular non-comdat symbol Nikita Smith 2025-05-29 16:19:44 -07:00
  • 42bed0e5c6 merge delayed data section with .data Nikita Smith 2025-05-29 14:00:21 -07:00
  • f2394b6cf7 off-by-one Nikita Smith 2025-05-29 13:59:26 -07:00
  • e911bf5368 move obj writer for PE debug directory to stand-alone file Nikita Smith 2025-05-28 14:16:03 -07:00
  • 7f6d8004a9 fix import dll debug symbols Nikita Smith 2025-05-27 16:21:08 -07:00
  • 89e2ea15ad add /RAD_REMOVE_SECTION switch and special case debug sections Nikita Smith 2025-05-28 09:42:05 -07:00
  • 9c59cfd4e7 pointless check, in .debug relocations point to __ImageBase Nikita Smith 2025-05-27 15:04:00 -07:00
  • d51fe49bab delay import fix Nikita Smith 2025-05-27 15:02:28 -07:00
  • dcc4f38709 clean up pass over obj file Nikita Smith 2025-05-27 15:00:11 -07:00
  • 64415e21f0 special case bss section contribs and fix off by one in range array bsearch Nikita Smith 2025-05-27 14:43:33 -07:00
  • 37689b2e4a section collector Nikita Smith 2025-05-27 14:41:16 -07:00
  • 382204a4ea WIP test delay user32 import Nikita Smith 2025-05-27 09:11:27 -07:00
  • 8fb0aaf2b3 test kernel32 import Nikita Smith 2025-05-26 19:18:24 -07:00
  • fb0e8d7579 fix crash on COMDAT folding communal variable Nikita Smith 2025-05-26 15:47:31 -07:00
  • 9060004827 test for communal variable Nikita Smith 2025-05-26 15:40:00 -07:00
  • 40efbeb512 test for /INCLUDE Nikita Smith 2025-05-26 14:05:02 -07:00
  • 8d7bd6f9fe minor fixes Nikita Smith 2025-05-26 13:26:59 -07:00
  • da0e7e5f69 test for /ALTERNATENAME Nikita Smith 2025-05-26 13:26:17 -07:00
  • ea81d18223 test for out of bounds section number on external symbol Nikita Smith 2025-05-23 16:31:36 -07:00
  • ef476bf1f0 tests for COMDAT Associative selection Nikita Smith 2025-05-23 16:13:53 -07:00
  • bf25b5b249 handle COMDAT Associative selection Nikita Smith 2025-05-23 16:13:12 -07:00
  • 69d4e31b15 helper for parsing COFF symbols Nikita Smith 2025-05-23 16:11:08 -07:00
  • 8fad6da751 add support for associative COMDAT symbols Nikita Smith 2025-05-23 14:44:03 -07:00
  • 889b1807f2 test for COMDAT Largest selection Nikita Smith 2025-05-22 12:09:52 -07:00
  • e97d476c7c test for COMDAT ExactMatch selection Nikita Smith 2025-05-22 11:35:24 -07:00
  • bde11caf11 improve exact match selection Nikita Smith 2025-05-22 11:35:07 -07:00
  • 4b8c9db8f5 add dependency to COMDAT symbol so we do not need to link with /OPT:NOREF Nikita Smith 2025-05-22 11:34:32 -07:00
  • 9bea163d10 test COMDAT SameSize selection Nikita Smith 2025-05-22 10:33:44 -07:00