{"id":13648996,"url":"https://github.com/riscv-software-src/riscv-tools","last_synced_at":"2025-12-17T19:51:55.223Z","repository":{"id":40464351,"uuid":"9763258","full_name":"riscv-software-src/riscv-tools","owner":"riscv-software-src","description":"RISC-V Tools (ISA Simulator and Tests)","archived":true,"fork":false,"pushed_at":"2022-12-22T08:32:25.000Z","size":735,"stargazers_count":1166,"open_issues_count":107,"forks_count":449,"subscribers_count":120,"default_branch":"master","last_synced_at":"2025-10-21T17:10:37.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/riscv-software-src.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}},"created_at":"2013-04-30T03:25:43.000Z","updated_at":"2025-10-10T17:32:02.000Z","dependencies_parsed_at":"2023-01-30T06:16:07.844Z","dependency_job_id":null,"html_url":"https://github.com/riscv-software-src/riscv-tools","commit_stats":null,"previous_names":["riscv/riscv-tools"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/riscv-software-src/riscv-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riscv-software-src","download_url":"https://codeload.github.com/riscv-software-src/riscv-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-tools/sbom","scorecard":{"id":777199,"data":{"date":"2025-08-11","repo":{"name":"github.com/riscv-software-src/riscv-tools","commit":"26190623292f82a0f001bdcba40cfa98786e8819"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":7,"reason":"Found 8/11 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T03:54:33.536Z","repository_id":40464351,"created_at":"2025-08-23T03:54:33.536Z","updated_at":"2025-08-23T03:54:33.536Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27786003,"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-12-17T02:00:08.291Z","response_time":55,"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-08-02T01:04:41.707Z","updated_at":"2025-12-17T19:51:55.175Z","avatar_url":"https://github.com/riscv-software-src.png","language":"Shell","readme":"riscv-tools [![Build Status](https://travis-ci.org/riscv/riscv-tools.svg?branch=master)](https://travis-ci.org/riscv/riscv-tools)\n===========================================================================\n\nThis repository houses a set of RISC-V simulators and other tools,\nincluding the following projects:\n\n* [Spike](https://github.com/riscv/riscv-isa-sim/), the ISA simulator\n* [riscv-tests](https://github.com/riscv/riscv-tests/), a battery of\nISA-level tests\n* [riscv-opcodes](https://github.com/riscv/riscv-opcodes/), the\nenumeration of all RISC-V opcodes executable by the simulator\n* [riscv-pk](https://github.com/riscv/riscv-pk/), which contains `bbl`,\na boot loader for Linux and similar OS kernels, and `pk`, a proxy kernel that\nservices system calls for a target-machine application by forwarding them to\nthe host machine\n\nSeveral RISC-V tools that were previously maintained through this\nrepository have since been upstreamed to their parent projects and are\nno longer included here.  Your favorite software distribution should\nalready have packages for these upstream tools, but if it doesn't then\nhere are a handful of my favorites:\n\n* Your favorite software distribution may already have packages that\n  include a RISC-V cross compiler, which is probably the fastest way to\n  get started.  As of writing this README (March, 2019) I can trivially\n  find packages for ALT Linux, Arch Linux, Debian, Fedora, FreeBSD,\n  Mageia, OpenMandriva, openSUSE, and Ubuntu.\n  [pkgs.org](https://pkgs.org/) appears to be a good place to find an up\n  to date list, just search for \"riscv\".\n* [crosstool-ng](http://crosstool-ng.github.io/docs/) can build RISC-V\n  cross compilers of various flavors.\n* The [RISC-V Port of\n  OpenEmbedded](https://github.com/riscv/meta-riscv#quick-start)\n  builds a cross compiler, Linux kernel, and enough of userspace to do\n  many interesting things.\n* [buildroot](https://github.com/buildroot/buildroot) is a lighter\n  weight cross compiled Linux distribution.\n\nThis repository uses crosstool-ng to configure a `riscv64-unknown-elf`\ntoolchain.\n\n# \u003ca name=\"quickstart\"\u003e\u003c/a\u003eQuickstart\n\n\t$ git submodule update --init --recursive\n\t$ export RISCV=/path/to/install/riscv/toolchain\n\t$ ./build.sh\n\n\nUbuntu packages needed:\n\n\t$ sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev libusb-1.0-0-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev device-tree-compiler pkg-config libexpat-dev\n\nFedora packages needed:\n\n\t$ sudo dnf install autoconf automake @development-tools curl dtc libmpc-devel mpfr-devel gmp-devel libusb-devel gawk gcc-c++ bison flex texinfo gperf libtool patchutils bc zlib-devel expat-devel\n\n_Note:_ This requires a compiler with C++11 support (e.g. GCC \u003e= 4.8).\nTo use a compiler different than the default, use:\n\n\t$ CC=gcc-5 CXX=g++-5 ./build.sh\n\n_Note for OS X:_ We recommend using [Homebrew](https://brew.sh) to install the dependencies (`libusb dtc gawk gnu-sed gmp mpfr libmpc isl wget automake md5sha1sum`) or even to install the tools [directly](https://github.com/riscv/homebrew-riscv). This repo will build with Apple's command-line developer tools (clang) in addition to gcc.\n","funding_links":[],"categories":["Shell","CPU RISC-V"],"sub_categories":["网络服务_其他"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friscv-software-src%2Friscv-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friscv-software-src%2Friscv-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friscv-software-src%2Friscv-tools/lists"}