Skip to content

Instantly share code, notes, and snippets.

@Zoumax
Zoumax / NvidiaGPUSpoofer.c
Last active March 5, 2026 02:33 — forked from Xyrem/NvidiaGPUSpoofer.c
Nvidia GPU UUID randomizer
DriverInformation_t NVBase;
uint32_t UuidValidOffset = 0;
// Get nvlddmkm.sys information.
if (!Utils::GetDriverInformation(H("nvlddmkm.sys"), NVBase))
{
DBG("Could not find nvlddmkm.sys\n");
return 0;
}
@Zoumax
Zoumax / tscqpc.h
Created August 9, 2024 05:44 — forked from pmttavara/tscqpc.h
Obtain RDTSC frequency on Win32 and Linux
// SPDX-FileCopyrightText: © 2022 Phillip Trudeau-Tavara <pmttavara@protonmail.com>
// SPDX-License-Identifier: 0BSD
// https://hero.handmade.network/forums/code-discussion/t/7485-queryperformancefrequency_returning_10mhz_bug/2
// https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/tlfs/timers#partition-reference-tsc-mechanism
#include <stdbool.h>
#include <stdint.h>
#define WIN32_LEAN_AND_MEAN