{"id":20925837,"url":"https://github.com/comby-tools/cactuscon-2019","last_synced_at":"2026-04-04T06:36:37.694Z","repository":{"id":141623735,"uuid":"226384138","full_name":"comby-tools/cactuscon-2019","owner":"comby-tools","description":null,"archived":false,"fork":false,"pushed_at":"2019-12-17T00:08:20.000Z","size":6309,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T18:14:58.917Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/comby-tools.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-06T18:08:50.000Z","updated_at":"2019-12-17T00:08:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"61a1a8fe-7245-4ece-b170-65e82e407043","html_url":"https://github.com/comby-tools/cactuscon-2019","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcactuscon-2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcactuscon-2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcactuscon-2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comby-tools%2Fcactuscon-2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comby-tools","download_url":"https://codeload.github.com/comby-tools/cactuscon-2019/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318756,"owners_count":20272144,"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":[],"created_at":"2024-11-18T20:35:24.621Z","updated_at":"2025-12-28T07:59:53.081Z","avatar_url":"https://github.com/comby-tools.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# cactuscon-2019\n\n### Slides\n\nThe [slides](https://github.com/comby-tools/cactuscon-2019/blob/master/slides.pdf) are in this repository.\n\n### Running the examples\n\n- [Install comby](https://github.com/comby-tools/comby#install-pre-built-binaries)\n- The match `with-highlights` utility is work in progress and not available yet :) You can run all the examples and get plain text output with the commands below\n- In general, run the commands at the root directory of the directory or repository that you want to search\n- Tack on `-stats` to get a summary of matches and number of files searched\n- See more command line options with `-h` and usage at [comby.dev](https://comby.dev)\n\n\n**Example `libssh2`**\n\n- git clone [libssh2-f1cfa55](https://github.com/rvantonder/libssh2-f1cfa55), which is `libssh2` pinned to the commit that contains matches for the example pattern\n- cd `libssh2-f1cfa55`\n- Then run:\n\n```\ncomby 'alloc_workqueue(:[args]);' '' .c -match-only -stats\n```\n\n**Example `Linux Kernel`**\n\n- git clone the linux kernel, or any repository you want to search over\n- `cd` into the root directory, then run these commands\n\nPart 1\n```\ncomby 'alloc_workqueue(:[args]); :[[word]]' '' -rule 'where :[[word]] != \"if\"' .c -match-only\n```\n\nPart 2\n```\ncomby 'alloc_workqueue(:[args]); :[[word]]' '' -rule 'where :[[word]] != \"if\", :[[word]] != \"BUG_ON\"' .c -match-only\n```\n\n**Example `Kubernetes`**\n\n- `git clone https://github.com/kubernetes/kubernetes`\n- `cd kubernetes`\n\n```\ncomby ':[[v]], err := strconv.ParseInt(:[1], :[2], 64) :[rest]' '' -rule 'where match :[rest] { | \"int32(:[arg])\" -\u003e :[arg] == :[[v]] }' .c -match-only\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomby-tools%2Fcactuscon-2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomby-tools%2Fcactuscon-2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomby-tools%2Fcactuscon-2019/lists"}