summaryrefslogtreecommitdiff
path: root/tools/935csbypass.c
blob: c2685f56868b0d3572cb3a4e1c927a2344d1573c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdint.h>
#include <stdio.h>

uint8_t payload[] = {
	0x42, 0x01, 0x04, 0xE3,
	0x44, 0x03, 0x44, 0xE3,
	0x1E, 0xFF, 0x2F, 0xE1,
};

int main(int argc, char* argv[]) {
	uint32_t (*lol)() = (uint32_t (*)())&payload;
	printf("Hello, world! %x\n", lol());
	return 0;
}