{"id":22827352,"url":"https://github.com/v1bh475u/debugger","last_synced_at":"2025-08-29T17:40:12.464Z","repository":{"id":240548584,"uuid":"802769507","full_name":"v1bh475u/Debugger","owner":"v1bh475u","description":"An elf debugger implemented using ptrace","archived":false,"fork":false,"pushed_at":"2025-02-27T12:12:35.000Z","size":3926,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T05:24:02.356Z","etag":null,"topics":["cpp","ptrace"],"latest_commit_sha":null,"homepage":"","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/v1bh475u.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":"2024-05-19T08:11:12.000Z","updated_at":"2025-02-27T12:12:40.000Z","dependencies_parsed_at":"2024-07-31T20:30:30.504Z","dependency_job_id":"e7862085-67ed-4ab8-a226-c4b48644fc99","html_url":"https://github.com/v1bh475u/Debugger","commit_stats":null,"previous_names":["v1bh475u/debugger","vibhatsu29/debugger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/v1bh475u/Debugger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1bh475u%2FDebugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1bh475u%2FDebugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1bh475u%2FDebugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1bh475u%2FDebugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v1bh475u","download_url":"https://codeload.github.com/v1bh475u/Debugger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1bh475u%2FDebugger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272733351,"owners_count":24984261,"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-29T02:00:10.610Z","response_time":87,"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":["cpp","ptrace"],"created_at":"2024-12-12T18:09:40.234Z","updated_at":"2025-08-29T17:40:12.429Z","avatar_url":"https://github.com/v1bh475u.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MY DEBUGGER\nThis is my attempt to create a debugger in cpp with the help of external dependencies: linenoise and libelfin. \u003cbr\u003e\nI have used capstone for disassembling the code.\u003cBR\u003e\n## Dependencies\n- linenoise\n- libelfin\n- capstone\n\nInstall the dependencies in the appropriate directories.\n## How to install?\n1. Download this repositary.\n2. Type the following commands in your terminal:\n    ```zsh\n    cmake -S . -B build\n    cmake --buid build\n    cd build\n    ```\n## How to use?\n- To run \n    ```\n    ./mydbg \u003cyour_program\u003e\n    ```\n- To add breakpoint\n    ```\n    b \u003coffset_of_your_breakpoint\u003e\n    ```\n- To continue execution\n    ```\n    c\n    ```\n- To see all registers\n    ```\n    regs dump\n    ```\n- To read a particular register\n    ```\n    regs r \u003creg_name\u003e\n    ```\n- To write in a particular register\n    ```\n    regs w \u003creg_name\u003e \u003cdata_to_be_written_in_hexadecimal_format\u003e\n- To read a certain address in memory\n    ```\n    mem r \u003caddr_offset\u003e\n- To write to a certain address in memory\n    ```\n    mem w \u003caddr_offset\u003e \u003cdata_to_be_written_in_hexadecimal_format\u003e\n- To view call stack\n    ```\n    bt\n- To disassemble a function\n    ```\n    disass \u003cfunc_name\u003e\n- To exit\n    ```\n    q\n- To execute shell command\n    ```\n    cmd \u003ccommand\u003e\n- For help\n    ```\n    help","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv1bh475u%2Fdebugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv1bh475u%2Fdebugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv1bh475u%2Fdebugger/lists"}