{"id":50490373,"url":"https://github.com/crime-trix/ntscope","last_synced_at":"2026-06-02T02:05:47.904Z","repository":{"id":356849993,"uuid":"1234309071","full_name":"crime-trix/ntscope","owner":"crime-trix","description":"C++20 Windows Native API metadata inspection library","archived":false,"fork":false,"pushed_at":"2026-05-10T02:36:42.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-10T05:17:01.273Z","etag":null,"topics":["cpp","cxx20","metadata","native-api","ntdll","pe-parser","windows"],"latest_commit_sha":null,"homepage":"https://github.com/crime-trix/ntscope","language":"C++","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/crime-trix.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-10T02:36:32.000Z","updated_at":"2026-05-10T02:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/crime-trix/ntscope","commit_stats":null,"previous_names":["crime-trix/ntscope"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/crime-trix/ntscope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crime-trix%2Fntscope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crime-trix%2Fntscope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crime-trix%2Fntscope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crime-trix%2Fntscope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crime-trix","download_url":"https://codeload.github.com/crime-trix/ntscope/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crime-trix%2Fntscope/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33802178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"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","cxx20","metadata","native-api","ntdll","pe-parser","windows"],"created_at":"2026-06-02T02:05:47.305Z","updated_at":"2026-06-02T02:05:47.898Z","avatar_url":"https://github.com/crime-trix.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ntscope\n\n`ntscope` is a small C++20 header-only library for inspecting Windows Native API metadata in loaded modules. It reads PE exports, builds a searchable `Nt*` syscall table from `ntdll.dll`, and keeps the result visible as ordinary C++ data.\n\n[![ci](https://github.com/crime-trix/ntscope/actions/workflows/ci.yml/badge.svg)](https://github.com/crime-trix/ntscope/actions/workflows/ci.yml)\n\n## Example\n\n```cpp\n#include \u003cntscope/ntscope.hpp\u003e\n\n#include \u003ciostream\u003e\n\nint main() {\n    auto ntdll = ntscope::module_view::current_process(L\"ntdll.dll\");\n    auto syscalls = ntscope::syscall_table::from_module(*ntdll);\n\n    if (auto entry = syscalls-\u003efind(\"NtQuerySystemInformation\")) {\n        std::cout \u003c\u003c entry-\u003ename \u003c\u003c \" = \" \u003c\u003c entry-\u003enumber \u003c\u003c \"\\n\";\n    }\n}\n```\n\n## Surface\n\n- `module_view`: lightweight view over a module loaded in the current process.\n- `export_table`: validated PE export enumeration with lookup by name.\n- `syscall_table`: searchable `Nt*` metadata with source tracking.\n- `syscall_table::from_ntdll()`: convenience loader for the common `ntdll.dll` path.\n- `native_function\u003cSignature\u003e`: typed lookup for exported Native API routines.\n\nThe library does not allocate executable memory and does not install process-wide handlers. It is a metadata layer first: predictable, inspectable, and easy to embed in tools.\n\n## Build\n\n```sh\ncmake -S . -B build -DNTSCOPE_BUILD_EXAMPLES=ON -DNTSCOPE_BUILD_TESTS=ON\ncmake --build build --config Release\nctest --test-dir build -C Release --output-on-failure\n```\n\n## Requirements\n\n- Windows\n- C++20 compiler\n- CMake 3.20+ for the example/test project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrime-trix%2Fntscope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrime-trix%2Fntscope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrime-trix%2Fntscope/lists"}