{"id":13843382,"url":"https://github.com/cxxsheng/profiler","last_synced_at":"2025-07-11T18:32:14.940Z","repository":{"id":170208447,"uuid":"272037334","full_name":"cxxsheng/profiler","owner":"cxxsheng","description":"A tool to trace java method dynamically for android application.","archived":false,"fork":false,"pushed_at":"2020-06-19T05:50:49.000Z","size":43990,"stargazers_count":36,"open_issues_count":1,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-29T16:58:10.360Z","etag":null,"topics":["method","tracer"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cxxsheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-06-13T15:40:04.000Z","updated_at":"2024-09-02T16:42:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1d77a2b-9099-4097-b9b5-4a435d44dd17","html_url":"https://github.com/cxxsheng/profiler","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.2142857142857143,"last_synced_commit":"321d2c58163901116a5d02b32c65b7b1ca530de0"},"previous_names":["cxxsheng/profiler","chason0528/profiler"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cxxsheng/profiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxsheng%2Fprofiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxsheng%2Fprofiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxsheng%2Fprofiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxsheng%2Fprofiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxxsheng","download_url":"https://codeload.github.com/cxxsheng/profiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxsheng%2Fprofiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264870464,"owners_count":23676240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["method","tracer"],"created_at":"2024-08-04T17:02:04.510Z","updated_at":"2025-07-11T18:32:09.927Z","avatar_url":"https://github.com/cxxsheng.png","language":"Java","readme":"# profiler\n\n## 描述\n这是一个主要用于逆向工程师用来跟踪java方法调用流程的工具。Android Studio本来也具有这个功能，但是过于臃肿，且不适合于逆向工程是操作。因此我将其从AS之中剥离出来，且重写了界面，参考了jadx的界面。\n\n## 使用之前必读\n\n### 背景\n使用之前你必须了解，Trace Java Method功能本来是Android系统用来调试应用程序的。当我们需要追踪记录一个进程的java方法，该进程必须得开启jdwp线程，否则无法进行接下来的操作。换言之，该进程/app必须是处于debuggable状态下。\n\n### 如何开启debuggable\n目前有两种方式开启debuggable，一种是修改apk的manifest文件，加入debuggable标志，另一种是修改Android的全局prop，其中修改全局prop，网上有各种方法，其中重新编译debuggable版本的系统比较稳定。确保进程开启了debuggable便可以愉快的操作啦。\n\n## 使用\n使用shell命令可以直接开启profiler，第一次开启需要在dialog之中填入adb的路径，然后链接上设备就可以愉快的使用啦。\n```shell\njava -jar profiler.jar\n```\n\n该工具也可以直接查看.trace文件。\n\n![](https://github.com/chason0528/profiler/blob/master/screenshoot/main.png)\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxxsheng%2Fprofiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxxsheng%2Fprofiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxxsheng%2Fprofiler/lists"}