Changed Block Tracking SDK - Windows Kernel Storage Filter
Track conservative changed disk ranges and consume immutable checkpoints from C++.
The current signed release contains a native Windows application, a compact C++ SDK and a private KMDF upper disk filter for incremental-storage integrations. The filter observes write ranges; the application can freeze a bitmap, consume it while new writes continue, and acknowledge that exact generation when finished.
Initial evaluation scope: Windows 10 version 2004/build 19041+ or Windows 11, x64 only, explicitly attached to the owned, unpartitioned 64 MiB Titan Storage Fault Lab synthetic scratch disk. Physical, system and other virtual disks are inventory-only. This version does not include disk imaging, automatic baselines, VSS coordination or production backup support. See validation and data guarantees before integrating it.
The release ZIP contains the application, CLI, example, both single-file setup
executables and matching opaque Microsoft-signed packages under Driver/.
Microsoft signing covers the driver packages; the user-mode EXEs are separate.
The supported scope and executed qualification are documented in
validation.
Separate demo-only source preview
driver/README.md describes a new demo-only source preview, including its matching client SDK under driver/SDK/. It uses separate Demo driver/runtime identities, retains the one-hour per-product boot budget, and contains no full-activation implementation.
This preview differs from the current signed release described here. The existing top-level SDK, applications, installers and signed packages continue to target the original combined demo/full runtime. Existing installers cannot install the new preview, and existing signed SYS/CAT files cannot be reused for it. The preview has compile/link and ABI-rejection checks only; new signing and runtime qualification remain separate work.
The existing top-level application, SDK, examples and installer remain MIT licensed. Newly published Titan-owned preview source uses the evaluation-source terms. Previously MIT-licensed SDK portions and other upstream material retain their existing grants; see the file-by-file licence map.
Install and try
- Download the complete bundle from Releases.
ChangedBlocksStudio.exe --previewshows an explicitly synthetic bitmap without opening a runtime or disk. - For live evaluation, use a disposable VM with the Microsoft-signed Titan Storage Fault Lab fixture. Do not initialize or partition that scratch disk. Save a VM checkpoint first.
- Run the matching Microsoft-signed
ChangedBlocksSetup.exeas administrator and choose Install package. Setup installs the SDK application, CBT package and shared runtime; it does not attach any disk automatically. A source build without both trusted signed packages refuses installation. - Select the owned synthetic scratch disk, choose Attach selected, and restart Windows if requested. Setup preserves other per-device filters and never installs a class-wide filter or restarts Windows automatically.
- Open Changed Block Tracking Studio, refresh, select the attached scratch disk and choose Start tracking after establishing your baseline externally. Generate your own test workload. This viewer never writes disk contents.
- Choose Checkpoint to freeze the map. Blue cells represent changed 64 KiB ranges. Export or consume the map, then choose Acknowledge. Writes continue into the next bitmap while a checkpoint is frozen.
- Stop closes the tracking owner and discards history. Uninstall first removes this filter's associations; restart when requested, then run Uninstall again to remove its unused package and application. The shared runtime and scratch-disk contents are retained.
Keep the downloaded setup executable. The application's Driver setup button opens it beside the app, or asks you to select it if the installed app is in Program Files. Merely installing a service package does not attach a disk.
ChangedBlocksCLI.exe --disks
ChangedBlocksCLI.exe --devices
ChangedBlocksCLI.exe --track DEVICE_ID
ChangedBlocksSetupConsole.exe /install
ChangedBlocksSetupConsole.exe /attach "exact DiskDrive instance ID"
ChangedBlocksSetupConsole.exe /detach "exact DiskDrive instance ID"
ChangedBlocksSetupConsole.exe /uninstallConsole setup returns 3010 when a restart is required. It never restarts
automatically. A selected disk's opaque ID is valid only while that device is
present; obtain it from --devices, rather than hard-coding it.
Minimal C++ integration
Compile SDK/ChangedBlocks.cpp, SDK/Inventory.cpp and SDK/License.cpp with
C++17; link setupapi, cfgmgr32, winhttp, crypt32 and advapi32. Include the
matching headers. Run the integration elevated, as the control device permits
administrators and SYSTEM only.
Manual builds use UNICODE, _UNICODE, WIN32_LEAN_AND_MEAN, NOMINMAX and
_WIN32_WINNT=0x0A00, matching the included CMake configuration.
When combining Titan SDKs in one app, compile one copy of the shared License.cpp.
For Remote Workstation and USB-over-IP together, also compile only one shared Transport.cpp.
#include "ChangedBlocks.h"
ChangedBlocks::Tracker tracker;
auto devices = tracker.Devices();
// Choose an attached, qualified disk; establish its baseline externally first.
tracker.Start(devices.at(0).id, 64ull * 1024 * 1024);
// Generate a workload, then freeze an interval.
auto changes = tracker.Checkpoint();
changes.ForEachRange([](const ChangedBlocks::Range& range) {
// Consume [range.offset, range.offset + range.length) from a
// separately coordinated, consistent storage snapshot.
return true;
});
tracker.Acknowledge(changes.state.generation); // Only after consumption succeeds.Driver operations throw a detailed English std::exception on failure. Catch it
at your application boundary; the complete example does so.
Verification(key) returns an English error string, empty on success.
| Function | Purpose |
|---|---|
Disks() |
Read-only Windows disk identity, eligibility and association inventory. |
tracker.Devices() |
Enumerate driver-issued opaque IDs and matching PDO names. |
tracker.Start(id, capacity) |
Begin an explicit tracking interval on the exact qualified attached disk. |
tracker.Status() |
Inspect current session, writes, in-flight requests and invalid/expired state. |
tracker.Checkpoint() |
Return the existing immutable frozen generation, or freeze a new one. |
snapshot.ForEachRange(visitor) |
Stream adjacent changed blocks as coalesced byte ranges without expanding a large range array. |
tracker.Acknowledge(generation) |
Release only the exact frozen generation, after successful consumption. |
tracker.Stop() |
Close this owner and invalidate its history; disk traffic continues unchanged. |
tracker.Verification(key) |
Activate full access to this product for the current Windows boot. |
The driver allows one control owner. A tracker serializes its calls. Device enumeration releases a temporary control handle when it is not tracking, so an idle inventory view does not keep ownership. Scope exit closes the owner.
What a checkpoint means
- Granularity is 64 KiB. A partial write marks the whole overlapping block. The final disk block is clipped to capacity.
- A requested write is marked before forwarding. Failed or partial writes can produce conservative false positives; they do not justify omitting that block.
- A new checkpoint is temporarily refused while a write or other potentially mutating request remains pending. Finish or briefly quiesce that workload and retry; the SDK returns a detailed English busy error and retains tracking. Requests already pending before Start, or across Stop/Start, remain accounted for when they complete on the current baseline.
- A frozen bitmap remains unchanged while tracking continues in a separate map. Consume it successfully before acknowledging; acknowledgment is not automatic after export or read failure.
- Generations increase across intervals and owners. A stale acknowledgment or map read cannot apply to a replacement baseline that happens to reuse a small generation number.
- A checkpoint is a map, not a storage snapshot or a file-content read barrier. Your backup integration must coordinate its own baseline, storage snapshot, consistency and error recovery.
- An unclassified potentially mutating path, unsupported storage bypass, device removal, owner loss or demo expiry invalidates history. Never interpret invalid history as an empty change list. Establish a new baseline. Activation cannot recover missing changes.
The protocol bounds capacity at 1 TiB, uses at most 4 MiB for two kernel bitmaps, and transfers bitmap pages of at most 16 KiB. The supplied evaluation's strict 64 MiB fixture guard is narrower than that protocol bound. No universal storage compatibility or zero-overhead claim is made.
Demo, full access and commercial use
The shared resident runtime grants a one-hour elapsed-time demo per product per Windows boot, shared by all processes. Restarting the app or changing the Windows date does not reset it. At expiry, tracking becomes invalid and disk I/O continues to pass through. The driver does not disable a disk.
For an evaluation key, commercial/OEM licensing or qualification of a particular
storage stack, add titancsa on Discord and name Changed Block Tracking SDK.
auto error = tracker.Verification("YOUR-PRODUCT-KEY");
if (!error.empty()) { /* Show this detailed English error. */ }The same installed driver becomes full for the current boot after accepting a fresh product-bound proof signed by the licensing server. The private signing key stays on the server. Call Verification again after reboot. Disabling a key refuses future activations; previously accepted boot rights remain. Keys are not machine-bound, and this application does not save them. There is no claim of unbreakable licensing against a compromised kernel or arbitrary third-party software.
Build
Application sources are in App/, the C++ SDK is in SDK/, and examples are in
Examples/. UI and console installer sources are in Installer/UI/ and
Installer/Console/.
Use Visual Studio 2022 Desktop C++, the Windows SDK and CMake on x64:
.\Build.ps1
.\Build.ps1 -Asan
# Rebuild setup with both opaque signed packages from the release ZIP:
.\Build.ps1 -RuntimePackageDirectory .\Driver\TitanSdkRuntime `
-DriverPackageDirectory .\Driver\TitanChangedBlockTrackingOutputs are in obj/Build/bin/Release. Normal and AddressSanitizer offline tests
open no driver, attach no filter and write no raw disk. The current driver/runtime
implementation with full activation remains excluded; the separate
demo-only source preview is under driver/. Private validation fixtures and
signing credentials remain excluded from this repo.
Existing top-level application, SDK, example and installer source is MIT licensed. Prebuilt driver/runtime binaries have separate evaluation and commercial terms. Use only on systems and disposable data you own or administer with permission. You are responsible for lawful use, backups and integration correctness. Software is provided without warranty; mandatory statutory rights remain unaffected. No unlawful or unauthorized use is endorsed.
Paquets et installation
Les sources, licences, guides API et exemples sont regroupes dans le depot SDK dedie. Choisis le paquet a installer puis execute sa commande dans son dossier.
| Registre | Paquet | Installation / utilisation |
|---|---|---|
| vcpkg | changed-block-tracking-sdk |
vcpkg install changed-block-tracking-sdk:x64-windows |
| Conan | changed-block-tracking-sdk |
conan install --requires=changed-block-tracking-sdk/0.1.1 -r titancsa --build=missing -s compiler.cppstd=17 |
| NuGet | Changed-Block-Tracking-SDK.Native |
Install-Package Changed-Block-Tracking-SDK.Native -Version 0.1.1 |
| NuGet | ChangedBlockTrackingSDK.SDK |
dotnet add package ChangedBlockTrackingSDK.SDK --version 1.0.0 |
| PyPI | changed-block-tracking-sdk |
Commande prevue apres publication : python -m pip install changed-block-tracking-sdk==1.0.0
|
| Conda | changed-block-tracking-sdk |
conda install --override-channels -c https://raw.githubusercontent.com/TitanCSA/sdk-packages/089bc73095aa8eda89bacbe10d0b9e58394b0207/conda-channel -c conda-forge changed-block-tracking-sdk (canal TitanCSA) |
| crates.io | changed-block-tracking-sdk |
cargo add changed-block-tracking-sdk@1.0.0 |
| npm | changed-block-tracking-sdk |
npm install changed-block-tracking-sdk@1.0.0 |
| Maven Central | io.github.titancsa:changed-block-tracking-sdk |
io.github.titancsa:changed-block-tracking-sdk:1.0.0 (pom.xml / Gradle) |
| JitPack | com.github.titanfyre:Changed-Block-Tracking-SDK |
com.github.titanfyre:Changed-Block-Tracking-SDK:java-sdk-v1.0.0 (avec le depot JitPack) |
| Go Modules | github.com/titanfyre/Changed-Block-Tracking-SDK/Changed-Block-Tracking-SDK-Go-modules |
go get github.com/titanfyre/Changed-Block-Tracking-SDK/Changed-Block-Tracking-SDK-Go-modules@v1.0.0 |
| pkg.go.dev | github.com/titanfyre/Changed-Block-Tracking-SDK/Changed-Block-Tracking-SDK-Go-modules |
Documentation : https://pkg.go.dev/github.com/titanfyre/Changed-Block-Tracking-SDK/Changed-Block-Tracking-SDK-Go-modules@v1.0.0 |
| PowerShell Gallery | ChangedBlockTrackingSDK |
Install-Module ChangedBlockTrackingSDK -RequiredVersion 1.0.0 -Scope CurrentUser |
| pub.dev | changed_block_tracking_sdk |
dart pub add changed_block_tracking_sdk:1.0.0 |
| RubyGems | changed-block-tracking-sdk |
gem install changed-block-tracking-sdk -v 1.0.0 |
| Packagist | titancsa/changed-block-tracking-sdk |
composer require titancsa/changed-block-tracking-sdk:1.0.0 |
Pour vcpkg et Conan, configure d abord le registre TitanCSA avec le guide complet. Le guide explique aussi Maven/Gradle, les prerequis et le chargement des DLL. Les pilotes/applications du produit sont installes separement. Les commandes marquees prevues ne sont pas encore disponibles.
Les anciens imports Go et versions JitPack gardent leurs tags. Pour les anciennes archives SDK, utilise les liens de remplacement.
Commercial integration and support
Important
Get the full version without demo restrictions
Discord username: titancsa
Open Discord, choose Friends > Add Friend, enter titancsa, then send a direct message. Ask for the full version without the demo time limit, and mention Changed Block Tracking SDK.
Tell me whether you need personal use, business integration or OEM redistribution, and ask for pricing and license / activation instructions.
