LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <string>
#include <vector>
#include "LIEF/types.hpp"
#include "LIEF/visibility.h"
#include "LIEF/OAT/type_traits.hpp"
#include "LIEF/platforms/android.hpp"
Include dependency graph for OAT/utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LIEF
 LIEF namespace.
 
namespace  LIEF::ELF
 Namespace related to the LIEF's ELF module.
 
namespace  LIEF::OAT
 

Functions

bool LIEF::OAT::is_oat (const LIEF::ELF::Binary &elf_binary)
 Check if the given LIEF::ELF::Binary is an OAT one.
 
bool LIEF::OAT::is_oat (const std::string &file)
 Check if the given file is an OAT one.
 
bool LIEF::OAT::is_oat (const std::vector< uint8_t > &raw)
 Check if the given raw data is an OAT one.
 
oat_version_t LIEF::OAT::version (const std::string &file)
 Return the OAT version of the given file.
 
oat_version_t LIEF::OAT::version (const std::vector< uint8_t > &raw)
 Return the OAT version of the raw data.
 
oat_version_t LIEF::OAT::version (const LIEF::ELF::Binary &elf_binary)
 Return the OAT version of the given LIEF::ELF::Binary.
 
LIEF::Android::ANDROID_VERSIONS LIEF::OAT::android_version (oat_version_t version)
 Return the ANDROID_VERSIONS associated with the given OAT version.