{"id":15616965,"url":"https://github.com/kengotoda/learn-cfg","last_synced_at":"2026-02-22T22:48:02.724Z","repository":{"id":37985411,"uuid":"164074783","full_name":"KengoTODA/learn-cfg","owner":"KengoTODA","description":"Learn Control Flow Graph on ObjectWeb ASM","archived":false,"fork":false,"pushed_at":"2023-07-03T00:37:04.000Z","size":139,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T03:51:56.753Z","etag":null,"topics":["control-flow-graph","objectweb-asm","static-analysis"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KengoTODA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-04T07:38:54.000Z","updated_at":"2024-11-22T12:39:14.000Z","dependencies_parsed_at":"2024-10-03T07:40:37.542Z","dependency_job_id":"8b2d9adf-8986-43ed-b9b0-f9d57cfc5c88","html_url":"https://github.com/KengoTODA/learn-cfg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KengoTODA/learn-cfg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KengoTODA%2Flearn-cfg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KengoTODA%2Flearn-cfg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KengoTODA%2Flearn-cfg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KengoTODA%2Flearn-cfg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KengoTODA","download_url":"https://codeload.github.com/KengoTODA/learn-cfg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KengoTODA%2Flearn-cfg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281925794,"owners_count":26584821,"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","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["control-flow-graph","objectweb-asm","static-analysis"],"created_at":"2024-10-03T07:40:28.963Z","updated_at":"2026-02-22T22:48:02.711Z","avatar_url":"https://github.com/KengoTODA.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Small project to learn about CFG\n================================\n\nThis is a small project to learn about [CFG (Control Flow Graph) based on ObjectWeb ASM](https://asm.ow2.io/developer-guide.html#controlflow).\n\n## Requirements\n\n- Java 17 or later\n- Gradle 9.2.0 or later (via included wrapper)\n\n## Building\n\nTo build the project:\n\n```bash\n./gradlew build\n```\n\n## Usage\n\nTo visualize result, use [`dot` command](https://www.graphviz.org/doc/info/command.html) to generate PNG file. For instance, the following example will generate a PNG file from `result.dot` in current working directory:\n\n```bash\n$ ./gradlew run --args /path/to/target.class\n$ dot result.dot -T png -o out.png\n```\n\n## Code Formatting\n\nTo format Kotlin codes, run `./gradlew spotlessApply` that is supported by [spotless plugin](https://github.com/diffplug/spotless).\n\n## Technology Stack\n\n- **Language**: Kotlin 2.1.0\n- **Build Tool**: Gradle 9.2.0 with Kotlin DSL\n- **Analysis Library**: ObjectWeb ASM 9.5\n- **JVM Target**: Java 17\n\nCopyright\n---------\n\nCopyright 2019-2021 Kengo TODA\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkengotoda%2Flearn-cfg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkengotoda%2Flearn-cfg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkengotoda%2Flearn-cfg/lists"}