|
dex++ 0.3.1
C++ and C API reference
|
How an APK's DEX files are loaded by AnalysisContext::from_apk / from_apk_buffer and by apk::Apk::analysis. More...
#include <analysis/analysis_context.hpp>
Public Member Functions | |
| bool | operator== (const ApkLoadOptions &) const =default |
| Two option sets are equal when every member is equal. | |
Public Attributes | |
| unsigned | threads = 0 |
| Threads used to decompress and parse the DEX entries, and later to build the context's call graph. | |
How an APK's DEX files are loaded by AnalysisContext::from_apk / from_apk_buffer and by apk::Apk::analysis.
|
default |
Two option sets are equal when every member is equal.
| unsigned dex::ApkLoadOptions::threads = 0 |
Threads used to decompress and parse the DEX entries, and later to build the context's call graph.
0 = automatic: one per hardware thread, never more than one per DEX file. 1 = do everything on the calling thread. Loading only starts extra threads when at least 3 DEX entries are deflate-compressed; with fewer, starting them costs more than it saves. Set this to 1 when the caller already analyses several APKs in parallel, so the machine is not oversubscribed, or when the program must not start threads at all.