16#ifndef LIEF_VDEX_UTILS_H
17#define LIEF_VDEX_UTILS_H
22#include "LIEF/VDEX/type_traits.hpp"
24#include "LIEF/platforms/android.hpp"
26#include "LIEF/types.hpp"
27#include "LIEF/visibility.h"
33LIEF_API
bool is_vdex(
const std::string& file);
36LIEF_API
bool is_vdex(
const std::vector<uint8_t>& raw);
39LIEF_API vdex_version_t
version(
const std::string& file);
42LIEF_API vdex_version_t
version(
const std::vector<uint8_t>& raw);
45LIEF_API Android::ANDROID_VERSIONS
android_version(vdex_version_t version);
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