{"id":18755813,"url":"https://github.com/kasperskylab/hb_dec","last_synced_at":"2025-04-13T01:56:44.685Z","repository":{"id":39881894,"uuid":"225594691","full_name":"KasperskyLab/hb_dec","owner":"KasperskyLab","description":null,"archived":false,"fork":false,"pushed_at":"2019-12-03T11:01:17.000Z","size":958,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T01:56:28.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/KasperskyLab.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":"2019-12-03T10:39:04.000Z","updated_at":"2023-07-30T11:00:08.000Z","dependencies_parsed_at":"2022-09-09T04:12:09.314Z","dependency_job_id":null,"html_url":"https://github.com/KasperskyLab/hb_dec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperskyLab%2Fhb_dec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperskyLab%2Fhb_dec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperskyLab%2Fhb_dec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperskyLab%2Fhb_dec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KasperskyLab","download_url":"https://codeload.github.com/KasperskyLab/hb_dec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654050,"owners_count":21140235,"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-11-07T17:34:02.204Z","updated_at":"2025-04-13T01:56:44.659Z","avatar_url":"https://github.com/KasperskyLab.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Harbour decompiler: hb_dec\n\n## Descrption\nSimple Harbour decompiler `hb_dec` finds, loads and prints the humanized version of Harbour opcodes from compiled Harbour script.\nHelped us with reverse engeneering compiled Harbour scripts.\n\nNot all opcodes are implemented (60 of 180 but it covered our needs).\n\nWas tested on harbour binaries compiled by Borland C compiler and MINGW.\n\n## 3rdparty libs\n\nI took some files from https://github.com/harbour/core to know harbour specific structures, constants...\nSame for parsing PE's https://github.com/wine-mirror/wine.\nAlso i used memmem.c from https://github.com/git/git for windows compatibility.\n\n## Build instructions\n\nUse cmake to build: `mkdir build; cd build; cmake ..; make`\n\nWorked fine on Linux, but code is also Windows friendly (checked with i686-w64-mingw32-c++ (GCC) 7.3-win32 20180312)\n\n## Additional information\n\n* https://harbour.github.io/\n* https://github.com/harbour/core\n* https://github.com/harbour/core/blob/master/doc/pcode.txt\n* https://sourceforge.net/p/hmgs-minigui/svncode/334/tree/trunk/MiniGUI/SAMPLES/Advanced/Decompiler/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasperskylab%2Fhb_dec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasperskylab%2Fhb_dec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasperskylab%2Fhb_dec/lists"}