ACPI AML decompiler w/ CFG recovery and structured pseudocode
1#ifndef TOBI_T_H
2#define TOBI_T_H
3
4#include <stdio.h>
5#include <stdlib.h>
6#include <string.h>
7
8#define T_CHECK(x) do { if (!(x)) { fprintf(stderr, "%s:%d: check failed: %s\n", __FILE__, __LINE__, #x); return 1; } } while (0)
9#define T_STR(h, n) T_CHECK(strstr((h), (n)) != NULL)
10
11int t_rd(void);
12int t_nm(void);
13int t_p(void);
14int t_ir(void);
15int t_cf(void);
16int t_da(void);
17int t_dc(void);
18int t_js(void);
19int t_bad(void);
20int t_cli(void);
21int t_prod(void);
22int t_corpus(void);
23int t_snap(void);
24
25#endif