mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
22 lines
532 B
C++
22 lines
532 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/IR/Module.h"
|
|
|
|
#include "revng/Backend/DecompilePipe.h"
|
|
#include "revng/EarlyFunctionAnalysis/ControlFlowGraphCache.h"
|
|
#include "revng/Model/Binary.h"
|
|
#include "revng/Pipes/StringMap.h"
|
|
|
|
namespace ptml {
|
|
class ModelCBuilder;
|
|
}
|
|
|
|
std::string decompile(ControlFlowGraphCache &Cache,
|
|
llvm::Function &F,
|
|
const model::Binary &Model,
|
|
ptml::ModelCBuilder &B);
|