102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
pcdogs_fixtures.c File Reference
#include <dttr_test.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

const char * pcdogs_fixture_dir ()
 Return the fixture directory used by PCDOGS signature tests.
bool pcdogs_fixtures_available ()
 Report whether all PCDOGS binary fixtures are available for signature tests.
bool pcdogs_for_each_fixture (DTTR_TestPEFixtureVisitor visitor, void *userdata)
 Visit each available PCDOGS fixture image for signature and ABI checks.

Variables

const DTTR_TestPCDOGSFixture DTTR_TEST_PCDOGS_FIXTURES []

Function Documentation

◆ pcdogs_fixture_dir()

const char * pcdogs_fixture_dir ( )

Return the fixture directory used by PCDOGS signature tests.

Definition at line 27 of file pcdogs_fixtures.c.

Referenced by pcdogs_fixtures_available(), and pcdogs_for_each_fixture().

◆ pcdogs_fixtures_available()

◆ pcdogs_for_each_fixture()

bool pcdogs_for_each_fixture ( DTTR_TestPEFixtureVisitor visitor,
void * userdata )

Variable Documentation

◆ DTTR_TEST_PCDOGS_FIXTURES

const DTTR_TestPCDOGSFixture DTTR_TEST_PCDOGS_FIXTURES[]
Initial value:
= {
.id = "en",
.filename = "pcdogs_en.exe",
.size = 438272,
.xxh3 = UINT64_C(0x78b1f7ebc13a1428),
},
.id = "eu",
.filename = "pcdogs_eu.exe",
.size = 446464,
.xxh3 = UINT64_C(0xb7addc38f431ab95),
},
.id = "sc",
.filename = "pcdogs_sc.exe",
.size = 446464,
.xxh3 = UINT64_C(0xa4034d351b713639),
},
}
@ DTTR_TEST_PCDOGS_EN
Definition dttr_test.h:31
@ DTTR_TEST_PCDOGS_EU
Definition dttr_test.h:32
@ DTTR_TEST_PCDOGS_SC
Definition dttr_test.h:33

Definition at line 5 of file pcdogs_fixtures.c.

Referenced by pcdogs_fixtures_available(), and pcdogs_for_each_fixture().