{"id":18925288,"url":"https://github.com/s2e/decree","last_synced_at":"2025-10-09T01:12:22.090Z","repository":{"id":150107526,"uuid":"87456320","full_name":"S2E/decree","owner":"S2E","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-03T17:45:55.000Z","size":15,"stargazers_count":8,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-09T01:08:06.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"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/S2E.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":"2017-04-06T17:25:26.000Z","updated_at":"2024-08-12T19:28:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"f116f822-6a21-43c2-9ab4-36df4a9e5d13","html_url":"https://github.com/S2E/decree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/S2E/decree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S2E%2Fdecree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S2E%2Fdecree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S2E%2Fdecree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S2E%2Fdecree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/S2E","download_url":"https://codeload.github.com/S2E/decree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S2E%2Fdecree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000722,"owners_count":26082894,"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-08T02:00:06.501Z","response_time":56,"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-11-08T11:10:29.908Z","updated_at":"2025-10-09T01:12:22.076Z","avatar_url":"https://github.com/S2E.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cyber Grand Challenge\n=====================\n\nThis repository contains artifacts used by S2E as part of Codejitsu's entry in DARPA's [Cyber Grand\nChallenge](https://cybergrandchallenge.com).\n\nRecipes\n-------\n\nRecipes tell S2E how to generate input so that the input can exploit the binary\n[Type 1 and Type 2 vulnerabilities](https://github.com/CyberGrandChallenge/cgc-release-documentation/blob/master/walk-throughs/understanding-cfe-povs.md).\nRecipes are used by S2E's ``Recipes`` plugin.\n\nRecipes are now generated by s2e-env. Please refer to the s2e-env documentation for more details.\n\nScripts\n-------\n\nVarious CGC-related scripts.\n\n\nSamples\n-------\n\nThe `samples` folder contains various pre-compiled CGC binaries that you can use for testing.\n\nYou can build the samples on your host in a docker container as follows:\n\n1. Check that you have a working S2E environment. We assume later that it is\n   located in ``$S2EDIR``. If you do not have one, initialize it using ``s2e init``.\n   This will automatically fetch all required sources. Refer to the S2E\n   documentation for more details.\n\n   Note: you may also clone the ``decree`` and ``guest-images`` repositories\n   separately.\n\n\n2. Build the ``linux-build-i386cgc`` docker image. This image is created\n   automatically when building the CGC VM image.\n   If ``docker images`` does not list ``linux-build-i386cgc``, rebuild\n   the CGC VM images using ``s2e image_build cgc_debian-9.2.1-i386``.\n\n3. Clone the CGC samples repository. These instructions assume that\n   it is located in ``$CGCDIR``.\n\n   ```bash\n   git clone https://github.com/CyberGrandChallenge/samples.git\n   ```\n\n3. Build the samples\n\n    ```bash\n    cd $CGCDIR\n    docker run -ti --rm -w $(pwd) -v $HOME:$HOME linux-build-i386cgc /run_as.sh $(id -u) $(id -g) \\\n     $S2EDIR/source/s2e/decree/scripts/build-cgc-samples.sh $S2EDIR/decree/samples\n    ```\n\n    Note: the command above assumes that ``$CGCDIR`` and ``$S2EDIR`` are subdirectories of your ``$HOME``.\n    If this is not the case, modify the ``docker run`` command so that it also mounts ``$CGCDIR`` and ``$S2EDIR``\n    at the same locations in the docker image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs2e%2Fdecree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs2e%2Fdecree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs2e%2Fdecree/lists"}