{"id":16890385,"url":"https://github.com/jedevc/fyp","last_synced_at":"2026-07-21T09:32:25.769Z","repository":{"id":95489134,"uuid":"305393270","full_name":"jedevc/fyp","owner":"jedevc","description":"My Final Year Project from the University of Birmingham :student:","archived":false,"fork":false,"pushed_at":"2021-08-31T10:38:27.000Z","size":1689,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T12:43:00.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/jedevc.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":"2020-10-19T13:28:46.000Z","updated_at":"2021-08-31T10:38:29.000Z","dependencies_parsed_at":"2023-08-30T14:32:49.672Z","dependency_job_id":null,"html_url":"https://github.com/jedevc/fyp","commit_stats":{"total_commits":323,"total_committers":1,"mean_commits":323.0,"dds":0.0,"last_synced_commit":"4d37cc16f61af70920c36389fae0c6955b5d9551"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jedevc/fyp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedevc%2Ffyp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedevc%2Ffyp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedevc%2Ffyp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedevc%2Ffyp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedevc","download_url":"https://codeload.github.com/jedevc/fyp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedevc%2Ffyp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35719682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-21T02:00:06.728Z","response_time":109,"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":[],"created_at":"2024-10-13T17:02:49.534Z","updated_at":"2026-07-21T09:32:25.748Z","avatar_url":"https://github.com/jedevc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vulnspec\n\nThis repository contains the source code and associated tooling for `vulnspec`,\na domain specific programming language for designing pwnable and\nreverse-engineering CTF challenges that I designed and built for the Final Year\nProject at the University of Birmingham.\n\nFor more information, you can see my final writeup [here](https://github.com/jedevc/fyp-report/releases/download/submission/report.pdf).\n\n## Installation\n\nTo install the project using pip (use the latest possible version of python 3.x\nfor best results):\n\n```bash\nhttps://github.com/jedevc/fyp.git\ncd fyp\npip install --user .\n```\n\nTo uninstall the package later (for whatever reason):\n\n```bash\npip uninstall vulnspec\n```\n\n## Running\n\nCreate a hello world specification:\n\n```\n// hello.spec\nblock main {\n    puts@libc.stdio(\"Hello world!\")\n}\n```\n\nTo synthesize it:\n\n```bash\nvulnspec synth hello.spec hello.c\n```\n\nThen to build it:\n\n```bash\nvulnspec build hello.c\n```\n\nFinally, to run it:\n\n```bash\n./hello\n```\n\nFor more examples, see the `examples/protostar/` directory for adapted versions\nof some of the protostar exercises. Or, see `examples/server/` for an example\nintegration of vulnspec into a minimal CTF platform.\n\n## Development\n\n### Installation in development mode\n\nInstall the package again using the following command:\n\n```bash\npip install --user --editable .\n```\n\nChanges to the local copy of the code should now be reflected to the\ninstallation.\n\n### Run tests\n\nIntegration tests using the examples can be run using pytest:\n\n```bash\npytest\n```\n\n### Use the dev scripts\n\nInstall the pre-commit git hook:\n\n```bash\n./tools/dev/install_hooks.sh\n```\n\nNow the code will be checked for formatting, typing and that it passes tests\nbefore allowing a commit.\n\nTo autoformat the code:\n\n```bash\n./tools/dev/autoformat.sh\n```\n\n### Generating data files\n\nFirstly, ensure that libmusl 1.2.1 (available [here](https://musl.libc.org/releases.html))\nis download into `../musl-1.2.1`.\n\nTo regenerate the libraries:\n\n```bash\nPYTHONPATH=./tools python -m builtin_generator vulnspec/data/builtins\n```\n\nTo regenerate the markov chains:\n\n```\nPYTHONPATH=./tools python -m markov_generator ../musl-1.2.1/ \u003e vulnspec/data/markov.json\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedevc%2Ffyp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedevc%2Ffyp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedevc%2Ffyp/lists"}