38 Commits

Author SHA1 Message Date
dmex 116436fd9d Add PhHeaderNew control 2026-10-10 22:34:43 +11:00
dmex 6960ed0933 Add setup delta tooling and SIMD build options
This change adds setup delta/patch generation commands, rotation helpers for setup payloads, and native SIMD detection for AVX/AVX2/AVX512 builds. It also standardizes error reporting via Program.PrintErrorMessage, suppresses ANSI escape codes when output is redirected, and updates the HTTP client helpers and build paths required for the new tooling.
2026-10-08 16:41:29 +11:00
dmex 9fcc24e52d Add SBOM, VEX, and build tooling updates 2026-09-29 21:02:02 +10:00
Johnny Shaw c491183cf7 CustomBuildTool add strsrch.h to the plugin SDK headers 2026-09-08 19:04:56 -06:00
dmex 9566b132e1 Add CLR metadata mapping and UI improvements 2026-06-16 01:54:09 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
dmex fb554333e6 Update BuildConfig.cs 2026-06-01 04:05:18 +10:00
dmex e6120caa36 Update CustomBuildTool 2026-05-31 14:13:33 +10:00
dmex 0b933cf2c6 Move SymCrypt wrapper into phlib
Move the SymCrypt wrapper sources into phlib while simplifying thirdparty project references.
2026-05-23 18:32:29 +10:00
dmex ba067cca57 BuildTools: Cleanup 2026-05-18 09:44:24 +10:00
dmex 9c2fac0b5a CustomBuildTool: Optimize hashing, Add support for third-party update check
Major refactor and feature additions across CustomBuildTool:

- Replace synchronous JsonSerializer.Deserialize usages with JsonSerializer.DeserializeAsync (passing CancellationToken) for HTTP/KeyVault/NuGet/GitHub responses to avoid blocking and improve cancellation handling.
- Optimize ECDSA hashing: use ReadOnlySpan, static SHA{256,384,512}.HashData fast-paths and allocation-free IncrementalHash fallback; consolidate incremental helper.
- Add BuildThirdParty.cs: new utility to verify vendored third-party library versions against GitHub releases, with various helpers (version parsing, GitHub queries, regexes).
- Add CLI command -check-thirdparty and register it in Program.cs to run version checks.
- Harden BuildAzure.GetAzureADToken: build form body as bytes, zero secret memory, and send as ByteArrayContent.
- Revise Build logic and file handling: normalize Path.Join usage, normalize path separators in MSIX mapping, improve BuildChecksumsFile collection logic, validate exe presence before export checks, and dedupe file lists before checksum computation.
- Update BuildHttpClient.CreateHttpClient settings and use DeserializeAsync in SendMessage; adjust MaxAutomaticRedirections removal.
- Misc fixes: environment block parsing loop fix, safer registry value handling, reorder search-path logic, add Regex Using and GeneratedRegex helpers, add CA1416 platform-suppression, and small csproj cleanup.

These changes improve async/cancellation behavior, memory safety, hashing performance, and add a new third-party checking feature.
2026-04-26 13:57:20 +10:00
dmex fd1f6d9077 Update plugin build from using sdk copies of phnt headers to the actual phnt directory 2026-03-13 02:33:55 +11:00
dmex 20b6f0ff09 Update comments 2025-12-22 08:31:06 +11:00
dmex 1ee8ec6edc BuildTools: Add extra check for release info 2025-09-20 11:15:20 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
Johnny Shaw 1740abd00c Enable symbol publishing 2025-07-05 09:08:11 -06:00
Johnny Shaw 3779b95252 update build release files 2025-05-09 21:18:04 -06:00
dmex cffaa3b0b5 BuildTools: Add copyright and update commands 2025-04-19 19:50:48 +10:00
Johnny Shaw 577406f9a8 user mode tracewpp 2025-04-16 20:10:31 -06:00
dmex 6ac7bba3f8 Update solutions 2025-04-10 19:32:37 +10:00
Johnny Shaw a54452c0aa phlib firmware 2025-01-07 12:57:53 -07:00
Johnny Shaw 42b9d0be07 phnt smbios 2025-01-07 12:57:31 -07:00
dmex b20716fd96 Update BuildTools to .NET 9.0 2024-11-30 05:31:57 +11:00
Johnny Shaw dd86c82865 phlib searchbox 2024-11-16 12:33:13 -07:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
Johnny Shaw 50c83872cc CustomBuildTool fix channel order 2024-07-25 23:30:15 -06:00
dmex 795d62bc8d BuildTools: Bump v3.1 2024-05-31 03:14:30 +10:00
dmex bd68bcedbb BuildTool: Tidy up and improve performance 2024-05-23 07:46:54 +10:00
dmex c320f4abf8 Add ntwmi.h to sdk and remove duplicate types 2024-05-08 00:17:04 +10:00
Johnny Shaw 4331b0b994 update channel 2024-04-20 14:00:17 -06:00
Johnny Shaw 50a4e22017 improve named pipe visibility 2023-06-10 19:32:36 -06:00
Johnny Shaw 4413c7f0a5 ntimage.h 2023-02-21 15:58:43 -07:00
dmex f93d833bfe BuildTools: Add SDK support for mapldr.h 2023-02-10 02:05:13 +11:00
dmex 5ad2fcfcea BuildTools: Make interop types blittable to improve performance, Improve error handling, Remove duplicate sdk/copy build events 2023-02-06 12:36:55 +11:00
dmex bc2f8aebc8 BuildTools: Enable pdb.zip nightly builds 2023-02-02 14:44:00 +11:00
diversenok 37ea51c7ff Add SxS definitions (#1556)
* Add SxS definitions

* Fix definition style

* Fix conflict with oaidl.h

* Register ntsxs.h with the custom build tool
2023-01-03 18:20:43 -07:00
Johnny Shaw f93555d147 ARM64 support 2022-12-20 21:40:21 -07:00
dmex 67904f3070 BuildTools: Fix COM support for NativeAot and cleanup code 2022-11-15 09:00:22 +11:00