{"id":13611894,"url":"https://github.com/zigtools/sus","last_synced_at":"2025-04-21T13:31:04.430Z","repository":{"id":65095582,"uuid":"568026999","full_name":"zigtools/sus","owner":"zigtools","description":"Hunt down sus ZLS activity by spamming ZLS with hot req/notif garbage","archived":false,"fork":false,"pushed_at":"2024-07-18T02:01:53.000Z","size":351,"stargazers_count":18,"open_issues_count":8,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-13T09:38:18.682Z","etag":null,"topics":["language-server","zig-language-server","zls"],"latest_commit_sha":null,"homepage":"https://fuzzing.zigtools.org","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zigtools.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},"funding":{"github":"zigtools","open_collective":"zigtools"}},"created_at":"2022-11-19T08:02:51.000Z","updated_at":"2024-12-03T15:50:16.000Z","dependencies_parsed_at":"2024-01-22T01:07:44.358Z","dependency_job_id":"f5ae43ee-5d7e-440d-bae6-8f595fbbc4ab","html_url":"https://github.com/zigtools/sus","commit_stats":{"total_commits":74,"total_committers":6,"mean_commits":"12.333333333333334","dds":"0.29729729729729726","last_synced_commit":"e3ff6fff22efe4e05755d3e0a46248187694d5a8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fsus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fsus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fsus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fsus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigtools","download_url":"https://codeload.github.com/zigtools/sus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249268547,"owners_count":21240940,"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":["language-server","zig-language-server","zls"],"created_at":"2024-08-01T19:02:17.884Z","updated_at":"2025-04-21T13:31:04.069Z","avatar_url":"https://github.com/zigtools.png","language":"Zig","readme":"# sus\n\nZLS fuzzing tooling.\n\n```bash\ngit clone https://github.com/ziglang/zig repos/zig\ngit clone https://github.com/zigtools/zls repos/zls\nzig build -- repos/zls/zig-out/bin/zls[.exe]\n# example with 'markov training dir'\nzig build run -- --zls-path repos/zls/zig-out/bin/zls[.exe] --mode markov -- --training-dir repos/zig/src\n```\n\n# usage\n\n```console\nUsage:   sus [options] --mode [mode] -- \u003cmode specific arguments\u003e\n\nExample: sus --mode markov        -- --training-dir  /path/to/folder/containing/zig/files/\n         sus --mode best_behavior -- --source_dir   ~/path/to/folder/containing/zig/files/\n\nGeneral Options:\n  --help                Print this help and exit\n  --output-as-dir       Output fuzzing results as directories (default: false)\n  --zls-path [path]     Specify path to ZLS executable\n  --mode [mode]         Specify fuzzing mode - one of { best_behavior, markov }\n  --cycles-per-gen      How many times to fuzz a random feature before regenerating a new file. (default: 25)\n\nFor a listing of mode specific options, use 'sus --mode [mode] -- --help'.\nFor a listing of build options, use 'zig build --help'.\n```\n\n# .env\nif a .env file is present at project root or next to the exe, the following keys will be used as default values.  \n```console\nzls_path=~/repos/zls/zig-out/bin/zls\nmode=markov\nmarkov_training_dir=~/repos/zig/src\n```\n\nthis allows the project to be run with no args:\n```console\nzig build run\n```\n","funding_links":["https://github.com/sponsors/zigtools","https://opencollective.com/zigtools"],"categories":["Zig"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigtools%2Fsus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigtools%2Fsus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigtools%2Fsus/lists"}