Files
revng-revng/include/revng/Model/Importer/Binary/BinaryImporter.h
2023-03-15 10:19:03 +01:00

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);