Files
jak-project/decompiler/analysis/final_output.h
T
water111 413c1f5c74 [Decompiler] Add offline tests (#303)
* add offline test for gcommon as an example.

* fix test

* unused var
2021-03-03 15:42:55 -05:00

18 lines
709 B
C++

#pragma once
#include <string>
#include "decompiler/Function/Function.h"
namespace decompiler {
enum class FunctionDefSpecials { NONE, DEFUN_DEBUG };
std::string final_defun_out(const Function& func,
const Env& env,
const DecompilerTypeSystem& dts,
FunctionDefSpecials special_mode = FunctionDefSpecials::NONE);
std::string write_from_top_level(const Function& top_level,
const DecompilerTypeSystem& dts,
const LinkedObjectFile& file,
const std::unordered_set<std::string>& skip_functions = {});
} // namespace decompiler