{"id":49889313,"url":"https://github.com/santhsecurity/dfajit","last_synced_at":"2026-05-15T20:09:17.406Z","repository":{"id":350115622,"uuid":"1205403701","full_name":"santhsecurity/dfajit","owner":"santhsecurity","description":"JIT compilation of DFA transition tables to native x86_64 jump tables","archived":false,"fork":false,"pushed_at":"2026-04-25T23:04:29.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-26T01:12:13.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://santh.dev","language":"Rust","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/santhsecurity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"AUDIT_REPORT.md","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T23:51:59.000Z","updated_at":"2026-04-25T23:04:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/santhsecurity/dfajit","commit_stats":null,"previous_names":["santhsecurity/dfajit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santhsecurity/dfajit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhsecurity%2Fdfajit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhsecurity%2Fdfajit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhsecurity%2Fdfajit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhsecurity%2Fdfajit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santhsecurity","download_url":"https://codeload.github.com/santhsecurity/dfajit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhsecurity%2Fdfajit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:05:40.333Z","status":"ssl_error","status_checked_at":"2026-05-15T20:05:38.672Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-05-15T20:09:16.825Z","updated_at":"2026-05-15T20:09:17.380Z","avatar_url":"https://github.com/santhsecurity.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dfajit\n\nJIT compilation of DFA transition tables to native x86_64 machine code.\n\n## Quick Start\n\n```rust\nuse dfajit::{JitDfa, TransitionTable};\n\nlet mut table = TransitionTable::new(3, 256);\ntable.set_transition(0, b'a', 1);\ntable.set_transition(1, b'b', 2);\ntable.add_accept(2, 0);\ntable.set_pattern_length(0, 2);\n\nlet jit = JitDfa::compile(\u0026table).unwrap();\nlet mut matches = Vec::new();\nassert_eq!(jit.scan(b\"xabxab\", \u0026mut matches), 2);\n```\n\n## Features\n\n- Real x86_64 machine code emission (not interpreted)\n- W^X memory safety (RW → RX via mprotect)\n- Hopcroft DFA minimization\n- Range analysis for multi-byte stride optimization\n- Serialization (to_bytes / from_bytes)\n- Convenience builders: `from_patterns`, `from_regex_patterns`\n- scan_count, scan_first, has_match fast paths\n- Interpreted fallback for large DFAs (\u003e4096 states)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanthsecurity%2Fdfajit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanthsecurity%2Fdfajit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanthsecurity%2Fdfajit/lists"}