@@ -13,6 +13,7 @@ DexDumper is an advanced Android library that performs runtime memory analysis t
1313- ** 🎯 Smart Memory Scanning** - Intelligent region filtering and DEX signature detection
1414- ** 🛡️ Safe Memory Access** - Signal-handled memory reading prevents crashes
1515- ** 📊 Duplicate Prevention** - SHA1 checksum and inode-based duplicate detection
16+ - ** 🧹 Exclusion Control** - SHA1-based exclusion list to skip unwanted DEX files
1617
1718## 💡 Why Choose DexDumper?
1819
@@ -129,16 +130,35 @@ DexDumper will automatically try these directories in order. You can change the
129130// Effect of disabling: Scans ALL memory regions including system areas
130131#define ENABLE_REGION_FILTERING 1 // Enabled
131132
133+ // Enable/disable second scan after initial dump
134+ #define ENABLE_SECOND_SCAN 0 // Disabled by default
135+
136+ // Timing configuration (in seconds)
137+ #define THREAD_INITIAL_DELAY 8 // Delay before first scan
138+ #define SECOND_SCAN_DELAY 7 // Delay before second scan (if enabled)
139+
140+ // Output directory templates (order of preference)
141+ #define OUTPUT_DIRECTORY_TEMPLATES { \
142+ "/data/data/%s/files/dex_dump", \
143+ "/data/user/0/%s/files/dex_dump", \
144+ "/storage/emulated/0/Android/data/%s/files/dex_dump", \
145+ "/sdcard/Android/data/%s/files/dex_dump" \
146+ }
147+
148+ // SHA1 exclusion list
149+ // Any DEX with matching SHA1 will be skipped
150+ #define EXCLUDED_SHA1_LIST { \
151+ "da39a3ee5e6b4b0d3255bfef95601890afd80709", /* Empty file SHA1 * / \
152+ /* Add your excluded SHA1 hashes here * / \
153+ }
154+
132155// DEX file size limits
133156#define DEX_MIN_FILE_SIZE 1024
134157#define DEX_MAX_FILE_SIZE (50 * 1024 * 1024)
135158
136159// Memory scanning limits
137160#define DEFAULT_SCAN_LIMIT (2 * 1024 * 1024)
138161#define MAX_REGION_SIZE (200 * 1024 * 1024)
139-
140- // Logging level control
141- extern int verbose_logging;
142162```
143163
144164## 📊 Performance Considerations
0 commit comments