c-list-function
3 views
1fdaac9f...
Description
List All C/C++ Functions in a Module
How to Use
Download the script and run it with Frida CLI:
Download ScriptThen run with Frida:
frida -U -f YOUR_PACKAGE_NAME -l c-list-function.js
Replace YOUR_PACKAGE_NAME with the target app's package name.
Source Code
JavaScript
var moduleName = "Project1.exe"; // Change this if needed
setTimeout(function() {
var symbols = Module.enumerateSymbols(moduleName);
console.log("[*] Listing functions in " + moduleName);
symbols.forEach(function(symbol) {
if (symbol.type === "function") {
console.log("[+] Function: " + symbol.name + " at " + symbol.address);
}
});
}, 1000);
Comments