{"id":20177846,"url":"https://github.com/tfc/gdb_dummy","last_synced_at":"2025-03-03T05:24:16.219Z","repository":{"id":137344292,"uuid":"122838967","full_name":"tfc/gdb_dummy","owner":"tfc","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-12T07:57:50.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T16:47:51.161Z","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/tfc.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":"2018-02-25T13:33:20.000Z","updated_at":"2019-03-12T07:57:52.000Z","dependencies_parsed_at":"2023-03-14T13:15:36.961Z","dependency_job_id":null,"html_url":"https://github.com/tfc/gdb_dummy","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/tfc%2Fgdb_dummy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfc%2Fgdb_dummy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfc%2Fgdb_dummy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfc%2Fgdb_dummy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tfc","download_url":"https://codeload.github.com/tfc/gdb_dummy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241612763,"owners_count":19990878,"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-14T02:17:46.180Z","updated_at":"2025-03-03T05:24:16.206Z","avatar_url":"https://github.com/tfc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GDB Dummy\n\nThis application is a little demo-showcase that tries to implement the GDB protocol using the [attoparsecpp](https://github.com/tfc/attoparsecpp) library.\n\nIt is not complete at all and will never be complete. This is rather a vehicle to evaluate and extend the `attoparsecpp` library.\n\nCurrent state of GDB dummy server:\n\n- Understands initialization protocol of connecting GDB instance\n- Supports reading and writing memory (Server implements dummy memory sandbox vector)\n- Parser is directly attached to socket and blocks on `read()` for more bytes when it expects more input\n\n## How to run\n\nIn one shell run:\n\n``` bash\n$ ./gdb_dummy\nListening on port 1234. Open a GDB instance and enter \"target remote tcp:localhost:1234\"\n```\n\nIn another shell:\n\n``` bash\n$ gdb\nGNU gdb (GDB) 8.1\n# ...\n(gdb) target remote localhost:1234\nRemote debugging using localhost:1234\nwarning: No executable has been specified and target does not support\ndetermining executable automatically.  Try using the \"file\" command.\n0x0000ab08 in ?? ()\n(gdb) x 0\n0x0:    0x00000000\n(gdb) s {int}0 = 0xaabbccdd   # write memory\n0x0000ab08 in ?? ()\n(gdb) x 0                     # read back same memory\n0x0:    0xaabbccdd\n(gdb) x 2\n0x2:    0x0000aabb\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfc%2Fgdb_dummy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfc%2Fgdb_dummy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfc%2Fgdb_dummy/lists"}