{"id":16552621,"url":"https://github.com/postmodern/ruby-yasm","last_synced_at":"2025-03-21T10:32:13.026Z","repository":{"id":56893766,"uuid":"448698","full_name":"postmodern/ruby-yasm","owner":"postmodern","description":"A Ruby interface to YASM.","archived":false,"fork":false,"pushed_at":"2024-01-25T10:18:07.000Z","size":89,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-01T22:03:29.723Z","etag":null,"topics":["asm","assembler","ruby","wrapper","yasm"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/postmodern.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2009-12-25T02:57:49.000Z","updated_at":"2024-01-25T10:11:39.000Z","dependencies_parsed_at":"2024-01-25T11:42:44.712Z","dependency_job_id":"b0ba2772-71f1-43f0-b313-e7f920fa2faf","html_url":"https://github.com/postmodern/ruby-yasm","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-yasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-yasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-yasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-yasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postmodern","download_url":"https://codeload.github.com/postmodern/ruby-yasm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244778006,"owners_count":20508830,"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":["asm","assembler","ruby","wrapper","yasm"],"created_at":"2024-10-11T19:45:32.662Z","updated_at":"2025-03-21T10:32:12.636Z","avatar_url":"https://github.com/postmodern.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby-yasm\n\n* [Source](https://github.com/sophsec/ruby-yasm/)\n* [Issues](https://github.com/sophsec/ruby-yasm/issues)\n* [Documentation](https://rubydoc.info/gems/ruby-yasm)\n\n## Description\n\nA Ruby interface to [YASM][yasm].\n\n\u003e YASM is a complete rewrite of the NASM assembler, YASM currently supports\n\u003e the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes,\n\u003e outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, RDOFF2, COFF, Win32,\n\u003e and Win64 object formats, and generates source debugging information in\n\u003e STABS, DWARF 2, and CodeView 8 formats.\n\n## Features\n\n* Supports all of the `yasm` command-line options.\n\n## Examples\n\nAssemble a binary file:\n\n```ruby\nYASM::Command.run(syntax: :gas, file: 'hello_world.S', output: 'hello_world.o')\n```\n\nAssemble amd64 assembly, in GAS syntax, into an ELF64 file with\ndebugging information:\n\n```ruby\nYASM::Command.run do |yasm|\n  yasm.target = :amd64\n\n  yasm.syntax = :gas\n  yasm.file   = 'hello_world.S'\n\n  yasm.output        = 'hello_world.o'\n  yasm.output_format = :elf64\n  yasm.debug_format  = :stabs\nend\n```\n\n## Requirements\n\n* [yasm] \u003e= 0.8.0\n* [command_mapper] ~\u003e 0.1\n\n## Install\n\n```shell\n$ gem install ruby-yasm\n```\n\n### yasm\n\n* Debian / Ubuntu:\n\n```shell\n$ sudo apt install yasm\n```\n\n* RedHat / Fedora:\n\n```shell\n$ sudo dnf install yasm\n```\n\n* Homebrew:\n\n```shell\n$ brew install yasm\n```\n\n## License\n\nSee {file:LICENSE.txt} for license information.\n\n[yasm]: https://www.tortall.net/projects/yasm/\n[command_mapper]: https://github.com/postmodern/command_mapper.rb#readme\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmodern%2Fruby-yasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostmodern%2Fruby-yasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmodern%2Fruby-yasm/lists"}