{"id":13647332,"url":"https://github.com/securisec/r2retdec","last_synced_at":"2025-04-22T02:31:20.837Z","repository":{"id":101781694,"uuid":"124411817","full_name":"securisec/r2retdec","owner":"securisec","description":"Use a local instance of retdec to decompile functions in radare2","archived":true,"fork":false,"pushed_at":"2021-12-03T22:59:05.000Z","size":17,"stargazers_count":21,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-09T21:36:40.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/securisec.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}},"created_at":"2018-03-08T15:36:45.000Z","updated_at":"2024-10-14T10:46:32.000Z","dependencies_parsed_at":"2024-01-14T10:19:34.299Z","dependency_job_id":"4a58cbbe-7b0a-4c1d-96ac-6c52f832c5f7","html_url":"https://github.com/securisec/r2retdec","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securisec%2Fr2retdec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securisec%2Fr2retdec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securisec%2Fr2retdec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/securisec%2Fr2retdec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/securisec","download_url":"https://codeload.github.com/securisec/r2retdec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250163637,"owners_count":21385277,"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":[],"created_at":"2024-08-02T01:03:29.880Z","updated_at":"2025-04-22T02:31:20.610Z","avatar_url":"https://github.com/securisec.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# DEPRECATED\n\n# r2retdec\n[![codebeat badge](https://codebeat.co/badges/c18f32ef-bf28-4948-8156-9a52e50e121c)](https://codebeat.co/projects/github-com-securisec-r2retdec-master)\n[![Twitter Follow](https://img.shields.io/twitter/follow/securisec.svg?style=social\u0026label=Follow)]()\n[![Analytics](https://ga-beacon.appspot.com/UA-113966566-4/r2wiki/readme)](https://github.com/securisec/r2wiki)\n![repo size](https://img.shields.io/github/repo-size/securisec/r2retdec.svg)\n\n\nr2retdec is a bridge in between radare2 and retdec and decompiles individual functions. It also provides summary of strings, xrefs and calls for a function. The various windows are mouse scrollable and draggable.\n\n[![asciicast](https://asciinema.org/a/170931.png)](https://asciinema.org/a/170931)\n\n## Installation\nInstall from r2pm.\n```\nr2pm init\nr2pm update\nr2pm -i r2retdec\n```\n- Create a file in $HOME call .r2retdec and put the full path to retdec-decompiler.sh in it.\n- A basic installation script is included in this repo. retdec_install.sh\n\n## Uninstallation\n```\nr2pm -u r2retdec\n```\n\n## Usage\n```\nusage: $dec [-h] [-p] [-t FILE]\n\nr2retdec help\n\nOptional arguments:\n  -h, --help  Show this help message and exit.\n  -t TMP      Set temp file for decompiled code\n  -p          Print dicompilation to stdout\n  --python    Print decompilation in python syntax. Default is C\n\nInvoke from inside r2 shell with $dec\n```\n\n- Press `h` in visual mode for visual mode help\n\n## Dependencies\nNeeds a locally compiled retdec available from https://github.com/avast-tl/retdec\n\n## Tested with\n- Node version 8 and 9\n- Ubuntu 16.04 Vagrant\n- Mac OSX 10.12\n\n## Supported architectures\n(32b only): Intel x86, ARM, MIPS, PIC32, and PowerPC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecurisec%2Fr2retdec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecurisec%2Fr2retdec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecurisec%2Fr2retdec/lists"}