WormaCeptor

Feature Toggles

Control which tools are available in WormaCeptor using the Feature enum.

Feature Toggles

The Feature enum controls which tools are available in WormaCeptor. Pass a set of features to init() to selectively enable them.

All Feature Values

Inspection Features

FeatureDescription
SHARED_PREFERENCESBrowse and edit SharedPreferences files
DATABASE_BROWSERBrowse SQLite databases and execute queries
FILE_BROWSERBrowse application files and directories
LOADED_LIBRARIESView loaded native libraries (.so files)
DEPENDENCIES_INSPECTORInspect Gradle dependencies and versions
SECURE_STORAGEBrowse encrypted SharedPreferences (EncryptedSharedPreferences)
WEBVIEW_MONITORMonitor WebView loading and JavaScript execution

Performance Features

FeatureDescription
MEMORY_MONITORMemory usage monitoring with real-time charts
FPS_MONITORFrame rate monitoring and jank detection
CPU_MONITORCPU usage monitoring per core
LEAK_DETECTIONMemory leak detection using LeakCanary integration
THREAD_VIOLATIONSStrictMode violation detection for disk/network on main thread

Network Features

FeatureDescription
WEBSOCKET_MONITORWebSocket connection and message monitoring
RATE_LIMITERNetwork rate limiting with presets (2G, 3G, 4G, WiFi)

Simulation Features

FeatureDescription
LOCATION_SIMULATORMock GPS location for testing
PUSH_SIMULATORSend simulated push notifications
PUSH_TOKEN_MANAGERView and copy FCM/push notification tokens
CRYPTO_TOOLCryptographic tools for hashing, encoding, encryption

Core Features

FeatureDescription
CONSOLE_LOGSApplication log viewer (Logcat)
DEVICE_INFODevice and application information

Predefined Feature Sets

SetContents
Feature.ALLAll 20 features
Feature.DEFAULTSame as ALL
Feature.CORECONSOLE_LOGS + DEVICE_INFO

Runtime Queries

// Check if a specific feature is enabled
val leakEnabled: Boolean = WormaCeptorApi.isFeatureEnabled(Feature.LEAK_DETECTION)

// Get all enabled features
val enabled: Set<Feature> = WormaCeptorApi.getEnabledFeatures()

On this page