mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
25 lines
643 B
C++
25 lines
643 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
#include "llvm/Object/Binary.h"
|
|
|
|
#include "revng/Model/Binary.h"
|
|
|
|
namespace llvm {
|
|
namespace object {
|
|
class ObjectFile;
|
|
}
|
|
} // namespace llvm
|
|
|
|
struct ImporterOptions;
|
|
llvm::Error importBinary(TupleTree<model::Binary> &Model,
|
|
llvm::object::ObjectFile &BinaryHandle,
|
|
const ImporterOptions &Options);
|
|
llvm::Error importBinary(TupleTree<model::Binary> &Model,
|
|
llvm::StringRef Path,
|
|
const ImporterOptions &Options);
|