ACPI AML decompiler w/ CFG recovery and structured pseudocode
1#ifndef TOBI_CF_H
2#define TOBI_CF_H
3
4#include "dg.h"
5#include "ir.h"
6#include "nm.h"
7
8typedef enum tobi_graph_kind {
9 TOBI_GRAPH_CFG,
10 TOBI_GRAPH_AST,
11 TOBI_GRAPH_NAMESPACE
12} tobi_graph_kind;
13
14int tobi_cf_recover(tobi_ir *root, tobi_diag_list *diag);
15
16char *tobi_cf_dot(const tobi_ir *root);
17
18char *tobi_graph_dot(const tobi_ir *root, const tobi_ns *ns, tobi_graph_kind kind);
19
20#endif