Display tokens from an enum even when the enum does not represent a bitfield
@plafosse ci sta già lavorando.
Dal 28/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Version and Platform (required):
- Binary Ninja Version: 5.4.9700-dev Ultimate, be5fbbd5
- OS: macos
- OS Version: 26.5.0
- CPU Architecture: arm64
What is the feature you'd like to have?
Try to display tokens from an enum even when the enum does not represent a bitfield.
Is your feature request related to a problem?
I would like have the library enum displayed correctly and hopefully automatically for the TOKEN_ACCESS_MASK enum used in the source code here:
It looks like this by default:
Here is the type for that parameter:
Here is that type in its default form as shipped with Binary Ninja:
Are any alternative solutions acceptable?
If I change that type so that any conflicting entries are removed, the tokens appear correctly with no other changes needed. But this leaves that type as non-standard.
enum TOKEN_ACCESS_MASK : uint32_t
{
TOKEN_ASSIGN_PRIMARY = 0x1,
TOKEN_DUPLICATE = 0x2,
TOKEN_IMPERSONATE = 0x4,
TOKEN_QUERY = 0x8,
TOKEN_QUERY_SOURCE = 0x10,
TOKEN_ADJUST_PRIVILEGES = 0x20,
TOKEN_ADJUST_GROUPS = 0x40,
TOKEN_ADJUST_DEFAULT = 0x80,
TOKEN_ADJUST_SESSIONID = 0x100,
TOKEN_DELETE = 0x10000,
TOKEN_READ_CONTROL = 0x20000,
TOKEN_WRITE_DAC = 0x40000,
TOKEN_WRITE_OWNER = 0x80000,
TOKEN_ACCESS_SYSTEM_SECURITY = 0x1000000
};
Additional Information:
Database: insight rock builds magnificently
- Lingua principale
- C++
- Stelle
- 1.3k
- Fork
- 298
- Merge medio
- 5g 5h
- PR unite (30g)
- 19
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Vector35/binaryninja-api
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
Vector35/binaryninja-api#8540 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Vector35/binaryninja-api#8516 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
Vector35/binaryninja-api#8503 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
Vector35/binaryninja-api#8446 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
Vector35/binaryninja-api#8444 ·
Tutte le issue di Vector35/binaryninja-api
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gazebosim/gz-sensors#662 · 1 commento ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
comp-datalake
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
LadybirdBrowser/ladybird#12123 ·