Missing API functions to distinguish user vs. auto
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start by reviewing the listed BNSetAuto* and BNSetUser* API pairs and their corresponding getters in the public API. The issue does not identify files or tests, so first locate these declarations and implementations and check which properties lack a way to distinguish user from auto values. Done means adding query functions for the applicable properties so syncing tools can identify user changes; the issue leaves the full affected list for verification.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is the feature you'd like to have?
For many types of objects or properties, there are separate BNSetUserFoo and BNSetAutoFoo setters, suggesting that Binary Ninja tracks whether each instance of that object/property is user or auto, but there is no API function to query whether it's user or auto.
I'm requesting that such API functions be added.
Here is a table of affected objects/properties. Disclaimer: this table was compiled by AI and I didn't check every one, but I think it's accurate.
| Auto setter | User setter | Getter |
|---|---|---|
BNSetAutoCallTypeAdjustment |
BNSetUserCallTypeAdjustment |
BNGetCallTypeAdjustment |
BNSetAutoCallStackAdjustment |
BNSetUserCallStackAdjustment |
BNGetCallStackAdjustment |
BNSetAutoCallRegisterStackAdjustment |
BNSetUserCallRegisterStackAdjustment |
BNGetCallRegisterStackAdjustment |
BNSetAutoCallRegisterStackAdjustmentForRegisterStack |
BNSetUserCallRegisterStackAdjustmentForRegisterStack |
BNGetCallRegisterStackAdjustmentForRegisterStack |
BNSetAutoInstructionHighlight |
BNSetUserInstructionHighlight |
BNGetInstructionHighlight |
BNSetAutoBasicBlockHighlight |
BNSetUserBasicBlockHighlight |
BNGetBasicBlockHighlight |
| n/a | BNAddUserCodeReferenceBNRemoveUserCodeReference |
BNGetCodeReferencesFrom |
BNAddDataReferenceBNRemoveDataReference |
BNAddUserDataReferenceBNRemoveUserDataReference |
BNGetDataReferencesFrom |
| n/a | BNAddUserTypeReferenceBNRemoveUserTypeReference |
BNGetCodeReferencesForTypeFrom |
| n/a | BNAddUserTypeFieldReferenceBNRemoveUserTypeFieldReference |
BNGetCodeReferencesForTypeFieldsFrom |
BNSetAutoFunctionInlinedDuringAnalysis |
BNSetUserFunctionInlinedDuringAnalysis |
BNGetFunctionInlinedDuringAnalysis |
Is your feature request related to a problem?
Just working on a custom syncing tool where I want to sync as much information as possible, but need to distinguish user changes (which should be synced) from auto changes (which shouldn't).
Are any alternative solutions acceptable?
It seems to me that the solution is pretty straightforward, but it's hard to say without seeing the BN codebase.
- Lingua principale
- C++
- Stelle
- 1.3k
- Fork
- 304
- Merge medio
- 2g 20h
- PR unite (30g)
- 10
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 Meno di un'ora Idoneità per principianti 84/100
Vector35/binaryninja-api#8715 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Vector35/binaryninja-api#8714 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Vector35/binaryninja-api#8713 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
Vector35/binaryninja-api#8689 ·
I maintainer di solito rispondono entro 2 giorni
-
Component: Python API
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Vector35/binaryninja-api#8649 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di Vector35/binaryninja-api
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ESPresense/ESPresense#2680 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 75/100
stew675/llama-cpp-rdna-boosts#348 ·
I maintainer di solito rispondono entro 1 giorno
-
Documentation: Add comprehensive newcomer onboarding guide, project structure, and local usage to READMEForse già presa @Ash-Blanc l’ha presa oggi. Apertaarea/other status/bot-triaged status/need-triage
Difficoltà 2/5 Mezza giornata Idoneità per principianti 85/100
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno