{"id":18620689,"url":"https://github.com/formalsec/wasp","last_synced_at":"2025-11-08T01:02:08.435Z","repository":{"id":132872690,"uuid":"492432815","full_name":"formalsec/wasp","owner":"formalsec","description":"WASP was superseded by: https://github.com/OCamlPro/owi","archived":false,"fork":false,"pushed_at":"2024-08-28T07:47:59.000Z","size":159725,"stargazers_count":14,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-25T08:20:56.037Z","etag":null,"topics":["c","program-analysis","symbolic-execution","testing","webassembly"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/formalsec.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}},"created_at":"2022-05-15T08:44:54.000Z","updated_at":"2024-09-18T15:58:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"64913c9b-5818-46e1-82cb-9ad582ac5059","html_url":"https://github.com/formalsec/wasp","commit_stats":null,"previous_names":["formalsec/wasp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formalsec%2Fwasp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formalsec%2Fwasp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formalsec%2Fwasp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formalsec%2Fwasp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formalsec","download_url":"https://codeload.github.com/formalsec/wasp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248329568,"owners_count":21085560,"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":["c","program-analysis","symbolic-execution","testing","webassembly"],"created_at":"2024-11-07T04:07:28.746Z","updated_at":"2025-11-08T01:02:08.384Z","avatar_url":"https://github.com/formalsec.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebAssembly Symbolic Processor (WASP)\n\n[![Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)\n![Platform](https://img.shields.io/badge/platform-linux%20%7C%20macos-lightgrey)\n[![GitHub last commit](https://img.shields.io/github/last-commit/wasp-platform/wasp)](https://github.com/wasp-platform/wasp/commit/main~0)\n\nThe WebAssembly Symbolic Processor (WASP), is a symbolic execution engine for\ntesting Wasm modules, which works directly on Wasm code and was built on top\nof a standard-compliant Wasm reference implementation.\n\n## Build from source\n\n\n- Install [opam](https://opam.ocaml.org/doc/Install.html).\n- Bootstrap the OCaml compiler:\n\n```sh\nopam init -y\nopam switch create wasp 4.14.0 4.14.0\neval $(opam env)\n```\n\n* Then, install the library dependencies:\n\n```sh\ngit clone --recurse-submodules https://github.com/wasp-platform/wasp.git\ncd wasp\nopam install . ./encoding/encoding.opam --deps-only\n```\n\n* Build and test:\n\n```sh\ndune build\ndune runtest\nmake -C share/libc\ndune install\n```\n\n## Running WASP\n\nYou can call the executable with\n\n```\nwasp [option | file ...]\n```\n\n#### `wasp: undefined symbol Z3_fixedpoint_pop`\n\nIf you encounter this or other Z3 symbol related errors\nadd the following line to your shell configuration file:\n\n```sh\n# change /default/ if you installed z3 on another version of OCaml\nexport LD_LIBRARY_PATH=\"${HOME}/.opam/default/lib/z3/:${LD_LIBRARY_PATH}\"\n```\n\nOn macOS the environment variable should be `DYLD_LIBRARY_PATH`.\n\n#### Converting Modules or Scripts\n\nThe option `-o` allows to output module definitions to\nfiles. Depending on its extension, it'll write out\nthe module definition in either S-expression or binary\nformat. This option allows to convert between the\ntwo in both directions. For example:\n\n```\nwasp -d module.wast -o module.wasm\nwasp -d module.wasm -o module.wast\n```\n#### Command Line Expressions\n\nThe option `-e` allows to provide arbitrary script commands\ndirectly on the command line. For example:\n\n```\nwasp module.wasm -e '(invoke \"foo\")'\n```\n\n#### Additional Details\n\nWASP extends the [WebAssembly Reference Interpreter](https://github.com/WebAssembly/spec/tree/master/interpreter). Hence, all other additional functionalities of the reference interpreter are available in WASP.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformalsec%2Fwasp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformalsec%2Fwasp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformalsec%2Fwasp/lists"}