dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
dex::model::ReadOptions Struct Reference

#include <model/io.hpp>

Public Attributes

bool debug_info = true
 Read debug information (line numbers, local variables, parameter names) into the code; false leaves it out.
 
std::function< bool(std::string_view type)> keep_class
 If set, only classes whose descriptor it returns true for are read.
 

Member Data Documentation

◆ debug_info

bool dex::model::ReadOptions::debug_info = true

Read debug information (line numbers, local variables, parameter names) into the code; false leaves it out.

◆ keep_class

std::function<bool(std::string_view type)> dex::model::ReadOptions::keep_class

If set, only classes whose descriptor it returns true for are read.

The model holds every reference as an owned string, so it takes far more memory than the analysis layer: reading part of a large file helps when only part is needed.


The documentation for this struct was generated from the following file: