Cannot use `this` keyword in type declaration

Aperta
#3,964 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Reproduce this in Binary Ninja 3.4.4090-dev on Windows by editing a variable or parameter type with Y and entering int this; compare that behavior with renaming via N. Trace the type-editing entry point involved in the Y flow, and consider the issue complete when valid parameter names using this are accepted without regressing ordinary type edits.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Component: Type Parser Effort: Low Impact: Low

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

I'm not sure if this is intended behaviour, but here it is:

  1. Try to change any variable, parameter type with Y
  2. Type something like this int this
  3. See you can not do it

We should be able to do it at least in parameters. Because there is a lot of cpp binaries that uses __thiscall convention and most of the time that functions first parameter is named this. By the way, I can rename by N, it only fails if I do it with Y.

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Vector35/binaryninja-api

Tutte le issue di Vector35/binaryninja-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.