{"id":19179371,"url":"https://github.com/archercreat/libx86","last_synced_at":"2025-08-09T00:10:57.763Z","repository":{"id":132753991,"uuid":"454837289","full_name":"archercreat/libx86","owner":"archercreat","description":"Simple library-wrapper around triton for emulation/disassembly","archived":false,"fork":false,"pushed_at":"2022-02-23T11:30:42.000Z","size":28,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T06:35:09.706Z","etag":null,"topics":["cmkr","cpp","reverse-engineering","triton"],"latest_commit_sha":null,"homepage":"","language":"CMake","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/archercreat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-02T15:50:36.000Z","updated_at":"2024-09-24T02:21:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"84958d26-6472-4c17-ac7f-fa8d558bc1fb","html_url":"https://github.com/archercreat/libx86","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/archercreat/libx86","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archercreat%2Flibx86","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archercreat%2Flibx86/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archercreat%2Flibx86/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archercreat%2Flibx86/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/archercreat","download_url":"https://codeload.github.com/archercreat/libx86/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archercreat%2Flibx86/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269508714,"owners_count":24428744,"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-08-08T02:00:09.200Z","response_time":72,"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":["cmkr","cpp","reverse-engineering","triton"],"created_at":"2024-11-09T10:42:56.812Z","updated_at":"2025-08-09T00:10:57.673Z","avatar_url":"https://github.com/archercreat.png","language":"CMake","readme":"# libx86\n*libx86* is a simple library-wrapper around triton for emulation/disassembly that i use in my other projects.\n\n## Usage\nUsage can be found in `example` folder.\n\n```c++\n#include \u003ciostream\u003e\n#include \u003clibx86/disasm.hpp\u003e\n#include \u003clibx86/emulator.hpp\u003e\n\nint test()\n{\n    int x = 0;\n    return x ^ 1337;\n}\n\nint main()\n{\n    auto emu = x86::emulator( triton::arch::ARCH_X86_64 );\n    emu.map( 0, { (const uint8_t*)test, (const uint8_t*)test + 100 } );\n    auto r = x86::unroll( emu.api.get(), 0 );\n    r.dump();\n    emu.execute( r.stream );\n    auto ret = emu.value( triton::arch::ID_REG_X86_RAX );\n    std::printf( \"rax: %lu\\n\", ret );\n    assert( ret == 1337 );\n    return EXIT_SUCCESS;\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchercreat%2Flibx86","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchercreat%2Flibx86","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchercreat%2Flibx86/lists"}