`HKEY_LOCAL_MACHINE` enumeration (and others) missing

Open
#3,923 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

The payload names no source file, test, or entry point; start by reproducing the RegOpenKeyExA example and checking Enum member (M) lookup for ffffffff80000002. Done means HKEY_LOCAL_MACHINE and the listed Windows constants resolve as enumerations, with coverage for the other missing values identified during the same investigation.

Written by the indexing model from the issue text.

Description

Component: Type Libraries Effort: Medium Impact: Medium

Binary Ninja Version: 3.4.4090-dev
Platform: Windows 11 Version 22H2

if (RegOpenKeyExA(ffffffff80000002, "Software\Microsoft\Cryptography", 0, 0x101, &hKey) == NO_ERROR) {

Enum member (M) feature can not find a enumeration for ffffffff80000002.

There are other missing enumerations too, I don't want to open an issue for each of them. I.E INFINITE, SC_MANAGER_ALL_ACCESS, SOCK_STREAM, IPPROTO_TCP, SW_HIDE, SW_SHOW, STATUS_FATAL_APP_EXIT, SIOCGIFHWADDR etc.

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.