Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/APKLab/APKLab
/ functions
Functions
74 in github.com/APKLab/APKLab
⨍
Functions
74
◇
Types & classes
14
↓ 16 callers
Function
smaliTypeToJava
* Parse smali type descriptor to Java/Frida type string. * e.g. "Ljava/lang/String;" -> "java.lang.String" * "I" -> "int" * "[B" -> "[B"
src/tools/frida.ts:26
↓ 12 callers
Function
checkAndInstallTools
()
src/utils/updater.ts:127
↓ 8 callers
Function
detectArchFromFilename
* Fallback: detect architecture from gadget filename.
src/tools/frida.ts:441
↓ 8 callers
Function
executeProcess
(processOptions: ProcessOptions)
src/utils/executor.ts:48
↓ 8 callers
Function
parseSmaliParams
* Parse smali method parameter list. * e.g. "ILjava/lang/String;Z" -> ["I", "Ljava/lang/String;", "Z"]
src/tools/frida.ts:61
↓ 7 callers
Function
getJavaPath
()
src/utils/java.ts:8
↓ 6 callers
Function
findMainActivity
(manifestPath: string)
src/utils/manifest.ts:8
↓ 5 callers
Function
parseMethodFromLine
* Parse a .method directive line and class context into SmaliMethod.
src/tools/frida.ts:88
↓ 5 callers
Function
patchSmaliWithGadgetLoad
* Patch a smali file to load a native library in onCreate. * Uses a safe register (bumps .locals/.registers count and uses the new slot). * Adds a m
src/tools/frida.ts:485
↓ 5 callers
Function
showStatusBar
(text: string, tooltip: string)
src/tools/smali-lsp.ts:201
↓ 5 callers
Function
writeManifest
(content: string)
src/test/suite/manifest.test.ts:18
↓ 4 callers
Method
dispose
()
src/test/suite/vsix.test.ts:559
↓ 4 callers
Function
findSmaliFile
* Find the smali file for a given class name. * Class name format: "com.example.MainActivity"
src/tools/frida.ts:454
↓ 4 callers
Function
generateFridaHook
* Generate Frida TypeScript hook code for a method.
src/tools/frida.ts:126
↓ 3 callers
Function
createVSCodeMock
* Create a comprehensive mock of the VS Code API. * Uses a Proxy fallback so that vscode-languageclient (bundled) can extend * vscode classes like C
src/test/suite/vsix.test.ts:421
↓ 3 callers
Function
generateGadgetName
* Generate a random plausible-looking Android library name. * Returns just the base name (without lib prefix or .so suffix). * e.g. "hdprocess", "na
src/tools/frida.ts:475
↓ 2 callers
Function
downloadFile
( urlString: string, redirectCount = 0, )
src/utils/downloader.ts:69
↓ 2 callers
Function
downloadTool
(tool: Tool)
src/utils/downloader.ts:19
↓ 2 callers
Function
findSmaliFileWithMethod
* Find a smali file that has .method directives.
src/test/suite/smali-lsp.test.ts:204
↓ 2 callers
Function
getApiCallPosition
* Search the position where API called in the given document segment. * @param doc the text document from source code file. * @param api The list of
src/tools/quark-engine.ts:184
↓ 2 callers
Function
getPackageName
* Extract package name from manifest.
src/utils/manifest.ts:59
↓ 2 callers
Function
getUpdateConfig
* download the dynamic update data and save it locally. * refresh the local `config.json` file if it's older than 24h * @returns Config object with
src/utils/updater.ts:171
↓ 2 callers
Function
showArgsQuickPick
( items: QuickPickItem[], placeHolder: string, )
src/interface.ts:22
↓ 2 callers
Function
startServer
(document: TextDocument)
src/tools/smali-lsp.ts:60
↓ 2 callers
Function
walkForSmali
* Walk smali directory and return first file matching predicate.
src/test/suite/smali-lsp.test.ts:234
↓ 1 callers
Function
createExtensionContext
* Create a mock extension context
src/test/suite/vsix.test.ts:591
↓ 1 callers
Function
detectArch
* Detect architecture from ELF header (e_machine field at bytes 18-19). * Falls back to filename-based detection if not a valid ELF.
src/tools/frida.ts:399
↓ 1 callers
Function
findApktoolProjectRoot
* Find the APKTool project root by walking up from the given directory.
src/tools/smali-lsp.ts:31
↓ 1 callers
Function
findMethodPosition
* Find the position of the first .method directive's name in a document.
src/test/suite/smali-lsp.test.ts:256
↓ 1 callers
Function
findProjectRoot
* Find the APKTool project root from a file path.
src/tools/frida.ts:168
↓ 1 callers
Function
findSmaliFileWithInvoke
* Find a smali file with an invoke instruction and return its position.
src/test/suite/smali-lsp.test.ts:212
↓ 1 callers
Function
findSmaliLspJar
* Find the smali-lsp JAR in apklabDataDir.
src/test/suite/smali-lsp.test.ts:192
↓ 1 callers
Function
flattenSymbolNames
* Flatten nested document symbols into a list of names.
src/test/suite/smali-lsp.test.ts:272
↓ 1 callers
Function
functionToPath
* Convert function name to the path of the source code file. * @param srcDir The source directory to search in. * @param func The function object wi
src/tools/quark-engine.ts:117
↓ 1 callers
Function
getApkNameFromApkToolYaml
(apktoolYamlPath: string)
src/tools/apktool.ts:20
↓ 1 callers
Function
getClassNameFromDocument
* Get the class name from the .class directive in the document.
src/tools/frida.ts:117
↓ 1 callers
Function
main
()
esbuild.config.mjs:29
↓ 1 callers
Function
main
()
src/test/runTest.ts:4
↓ 1 callers
Function
navigateSourceCode
* Search and highlight where APIs called in source code. * @param projectDir project output dir for decode/decompile/analysis. * @param parentFuncti
src/tools/quark-engine.ts:216
↓ 1 callers
Function
parseReport
* Read and parse the JSON file of quark analysis report. * @param reportPath The path of the `quarkReport.json` file. * @returns return parsed repor
src/tools/quark-engine.ts:58
↓ 1 callers
Function
quarkSummaryReportHTML
(report: QuarkReport)
src/utils/quark-html.ts:9
↓ 1 callers
Function
resolveActivityName
* Resolve a potentially relative activity name to fully qualified. * ".MainActivity" with package "com.example" -> "com.example.MainActivity"
src/utils/manifest.ts:39
↓ 1 callers
Function
resolveServerJar
* Resolve the path to smali-lsp server JAR from user config.
src/tools/smali-lsp.ts:47
↓ 1 callers
Function
searchFunctionSegment
* Find a specific function in the segment of the given text document. * @param doc The text document from source code file. * @param functionName a
src/tools/quark-engine.ts:144
↓ 1 callers
Function
updateStatusBar
(state: State)
src/tools/smali-lsp.ts:213
↓ 1 callers
Function
updateTools
()
src/utils/updater.ts:59
↓ 1 callers
Function
waitForServerReady
* Wait for the language server to finish indexing.
src/test/suite/smali-lsp.test.ts:286
Function
activate
(context: vscode.ExtensionContext)
src/extension.ts:18
Function
analyzeAPK
( apkFilePath: string, projectDir: string, )
src/tools/quark-engine.ts:358
Function
applyMitmPatches
( apktoolYmlPath: string, )
src/tools/apk-mitm.ts:12
Method
cancel
()
src/test/suite/vsix.test.ts:563
Function
checkQuarkInstalled
()
src/tools/quark-engine.ts:337
Function
deactivate
()
src/extension.ts:139
Function
decodeAPK
( apkFilePath: string, projectDir: string, apktoolArgs: string[], )
src/tools/apktool.ts:48
Function
decompileAPK
( apkFilePath: string, projectDir: string, jadxArgs: string[], )
src/tools/jadx.ts:14
Function
emptyFrameworkDir
()
src/tools/apktool.ts:155
Method
fire
()
src/test/suite/vsix.test.ts:558
Function
generateHook
()
src/tools/frida.ts:185
Function
get
(target, prop)
src/test/suite/vsix.test.ts:577
Function
getQuickPickItems
(category: string)
src/utils/quick-picks.ts:92
Function
initGitDir
( projectDir: string, commitMsg: string, )
src/tools/git.ts:12
Function
injectGadget
( apktoolYmlUri: vscode.Uri, )
src/tools/frida.ts:269
Function
installAPK
(apkFilePath: string)
src/tools/adb.ts:12
Function
isRunning
()
src/tools/smali-lsp.ts:196
Function
openApkFile
()
src/interface.ts:38
Function
rebuildAPK
(apktoolYmlPath: string)
src/interface.ts:144
Function
rebuildAPK
( apktoolYmlPath: string, apktoolArgs: string[], )
src/tools/apktool.ts:99
Function
register
(context: ExtensionContext)
src/tools/smali-lsp.ts:178
Function
run
()
src/test/suite/index.ts:5
Function
setQuickPickDefault
(category: string, label: string)
src/utils/quick-picks.ts:101
Function
setup
(build)
esbuild.config.mjs:13
Function
showSummaryReport
(reportPath: string)
src/tools/quark-engine.ts:391
Function
signAPK
(apkFilePath: string)
src/tools/uber-apk-signer.ts:12
Function
stopServer
()
src/tools/smali-lsp.ts:162