mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
32 lines
687 B
C++
32 lines
687 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/ADT/ArrayRef.h"
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
#include "revng/Pipeline/Contract.h"
|
|
#include "revng/Pipeline/Target.h"
|
|
#include "revng/Pipes/FileContainer.h"
|
|
#include "revng/Pipes/Kinds.h"
|
|
|
|
namespace revng::pipes {
|
|
|
|
class ImportBinaryAnalysis {
|
|
public:
|
|
static constexpr auto Name = "import-binary";
|
|
|
|
public:
|
|
std::vector<std::vector<pipeline::Kind *>> AcceptedKinds = {
|
|
{ &revng::kinds::Binary }
|
|
};
|
|
|
|
public:
|
|
llvm::Error run(pipeline::ExecutionContext &Context,
|
|
const BinaryFileContainer &SourceBinary);
|
|
};
|
|
|
|
} // namespace revng::pipes
|