Repository navigation
Document tbKMode 0.3.0.5, an experimental package. - #272
Merged
Merged
Conversation
…a driver, the names it shares with VBA, its main defects) and the pages of its six modules (modWDM, modFltMgr, modSysInfo, modDisk, modImage, modKmOpaque), its snapshot and sample template, and its test project (layout and value cases generated from the WDK's headers by wdk/, compile cases, and exe cases against a stand-in ntoskrnl.exe built with MSVC, which package_tests prepares through exe/prepare.mjs); two comments in check_twin_parsers reworded; two tbKMode leads in WIP.BugHunt
… its procedures imports user-mode DLLs), backed by a probe/ that builds drivers and reads their import tables; modWDM's export NOTE says ZwCreateUserProcess is the kernel's unnamed ordinal 2 (a new case) and ExFreePool2 is Windows 11 and Server 2022 on
…xe, hal.dll and fltmgr.sys of Windows 10 22H2 and 11 23H2 to 26H1 from the Microsoft symbol server (keys from Winbindex) and records their exports in db/kernels.json; verify.mjs imports checks a built driver's import table against it, which the probe now uses
…(its installer read as data, only the headers-and-libs package fetched, SHA-1 checked), with each routine's decorated symbol; db/kernels.json format 2 is updated rather than rebuilt (--refresh, --rebuild), and imports checks a 32-bit driver too
…th the shared scanner and checks each Declare per arch its #If compiles it for (export of its file in every build, another file or an ordinal-only export said; on x86 FastCall/CDecl against the decorated symbol, and argument bytes); a self-test in its own folder, outside test.bat and CI (owner: a package's tools run only when its section is updated)
… when its folder holds a publish.json (builder/package-tests.mjs: its files, rewrite and vendor, LF and a fixed time); the zip writer moves to lib/zip.mjs; check_tree_fresh watches the scanner the verifier's zip copies; test/package-tests/README.md states the rules for a package's tools (owner: run only when its section is updated, documented with the package)
…landing page, and its card on the Downloads page
…probe, verifier), the upstream issues and the leads; WIP.Contributed.md: a package's own tools are run when its section is updated, never in a gate, and documented with the package (owner)
…, alone and only touches it, and writes a changed one with the file's own line ends, so a checkout's mtimes no longer make a build show SVGs as changed, with or without core.autocrlf
…ers (structures, values, prototypes, x86 and x64, from an MSVC program; WDK 10.0.22621's headers read from its bundle with its MSI), and check compares the package with them, 22621 deciding and 28000 adding notes: each Type laid out as twinBASIC does, each value, each Declare's prototype
…m the verifier's WDK database of 10.0.22621, the package's kit, with limits.h; wdk/declares.mjs, wdk/msvc.mjs and the module configs retired (verifier/config/tbKMode.json); expect.json recorded
…ith the WDK's headers; modWDM and modImage callouts follow WDK 10.0.22621, the package's kit (values and sizes right for it move out of the callouts, KUSER_SHARED_DATA's numbers are 22621's)
…ed to the cases and Learn, and the lessons of writing the databases
… a routine the driver imports from another (on x86, hal.dll)
…f a routine that the x86 hal.dll exports (the fast mutexes, the IRQL routines, KeReleaseSpinLock) or that no x86 file exports (KeAcquireSpinLockRaiseToDpc, the Rtl...BitsEx routines), backed by probe x86exports; ExInterlockedAddUlong joins the 32-bit fastcall warning, with its case and an x86 stand-in
…s char is unsigned, as its page says
…hift wraps to its left operand's, so &Hff << 24 is 0), and a negative value is shown in hex as the bits of a Long
…it points to (p8>p8>s336:_DEVICE_OBJECT), a structure the headers do not define is s?:<name>; both kits rebuilt
…ine's pointer points to (a structure for the address of a pointer, a variable smaller than the pointee), finding IoCreateDevice, SeLocateProcessImageName and ExInitializeNPagedLookasideList
…a BOOLEAN (owner), finding ExTryToAcquireFastMutex
…t is an integer (BOOLEAN, LOGICAL or ULONG), and the message names its size
…es reviewed (owner); package-tests README: the exe/ folder is not published, and RunAll does not run its cases
…escription of each name (test/package-tests/tbKMode/writer), extracted from the reviewed pages; its page after the verifier's; modDisk's rows in alphabetical order
…s --check for now (owner)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.