|
| static std::unique_ptr< Binary > | parse (std::string_view oat_file) |
| | Parse an OAT file.
|
| static std::unique_ptr< Binary > | parse (std::string_view oat_file, std::string_view vdex_file) |
| template<class PathT, enable_if_path_t< PathT > = 0> |
| static std::unique_ptr< Binary > | parse (const PathT &oat_file) |
| | Same as parse(std::string_view) but the file is given as a std::filesystem::path.
|
| template<class OatT, class VdexT, enable_if_path_t< OatT, VdexT > = 0> |
| static std::unique_ptr< Binary > | parse (const OatT &oat_file, const VdexT &vdex_file) |
| | Same as parse(std::string_view, std::string_view) but at least one of the files is given as a std::filesystem::path.
|
| static std::unique_ptr< Binary > | parse (std::vector< uint8_t > data) |
| static std::unique_ptr< Binary > | parse (std::string_view file, const ParserConfig &conf=ParserConfig::all()) |
| | Parse an ELF file and return a LIEF::ELF::Binary object.
|
| template<class PathT, enable_if_path_t< PathT > = 0> |
| static std::unique_ptr< Binary > | parse (const PathT &file, const ParserConfig &conf=ParserConfig::all()) |
| | Same as parse(std::string_view, const ParserConfig&) but the file is given as a std::filesystem::path.
|
| static std::unique_ptr< Binary > | parse (const std::vector< uint8_t > &data, const ParserConfig &conf=ParserConfig::all()) |
| | Parse the given raw data as an ELF binary and return a LIEF::ELF::Binary object.
|
| static std::unique_ptr< Binary > | parse (std::unique_ptr< BinaryStream > stream, const ParserConfig &conf=ParserConfig::all()) |
| | Parse the ELF binary from the given stream and return a LIEF::ELF::Binary object.
|
| static std::unique_ptr< Binary > | parse_from_memory (uintptr_t address, const ParserConfig &conf=ParserConfig::all()) |
| | Parse the ELF binary from the given memory address.
|
| static std::unique_ptr< Binary > | parse_from_memory (uintptr_t address, size_t size, const ParserConfig &conf=ParserConfig::all()) |
| | Parse the ELF binary from the given memory address with the given size.
|
| static std::unique_ptr< Binary > | parse_from_dump (std::string_view filepath, uint64_t addr, const ParserConfig &conf=ParserConfig::all()) |
| | Parse an ELF binary from a memory dump located on disk.
|
| template<class PathT, enable_if_path_t< PathT > = 0> |
| static std::unique_ptr< Binary > | parse_from_dump (const PathT &filepath, uint64_t addr, const ParserConfig &conf=ParserConfig::all()) |
| | Same as parse_from_dump(std::string_view, uint64_t, const ParserConfig&) but the dump file is given as a std::filesystem::path.
|
| static std::unique_ptr< Binary > | parse_from_dump (BinaryStream &stream, uint64_t addr, const ParserConfig &conf=ParserConfig::all()) |
| | Same as parse_from_dump(std::string_view, uint64_t, const ParserConfig&) but the dump is wrapped in the given non-owned stream.
|
| static std::unique_ptr< Binary > | parse_from_dump (std::unique_ptr< BinaryStream > stream, uint64_t addr, const ParserConfig &conf=ParserConfig::all()) |
| | Same as parse_from_dump(std::string_view, uint64_t, const ParserConfig&) but the dump is wrapped in the given owned stream.
|
| static std::unique_ptr< Binary > | parse (std::string_view filename) |
| | Construct an LIEF::Binary from the given filename.
|
| template<class PathT, enable_if_path_t< PathT > = 0> |
| static std::unique_ptr< Binary > | parse (const PathT &filename) |
| | Same as parse(std::string_view) but the file is given as a std::filesystem::path.
|
| static std::unique_ptr< Binary > | parse (const std::vector< uint8_t > &raw) |
| | Construct an LIEF::Binary from the given raw data.
|
| static std::unique_ptr< Binary > | parse (std::unique_ptr< BinaryStream > stream) |
| | Construct an LIEF::Binary from the given stream.
|
Class to parse an OAT file to produce an OAT::Binary.