16#ifndef LIEF_OAT_UTILS_H
17#define LIEF_OAT_UTILS_H
22#include "LIEF/types.hpp"
23#include "LIEF/visibility.h"
25#include "LIEF/OAT/type_traits.hpp"
26#include "LIEF/platforms/android.hpp"
38LIEF_API
bool is_oat(
const std::string& file);
41LIEF_API
bool is_oat(
const std::vector<uint8_t>& raw);
44LIEF_API oat_version_t
version(
const std::string& file);
47LIEF_API oat_version_t
version(
const std::vector<uint8_t>& raw);
53LIEF_API LIEF::Android::ANDROID_VERSIONS
android_version(oat_version_t version);
Class which represents an ELF binary.
Definition ELF/Binary.hpp:59
art_version_t version(const std::string &file)
Return the ART version of the given file.
LIEF::Android::ANDROID_VERSIONS android_version(art_version_t version)
Return the ANDROID_VERSIONS associated with the given ART version.
LIEF namespace.
Definition Abstract/Binary.hpp:32