Vector35 / Vector35/binaryninja-api

The order of function's argument recovered is inconsistent with that in source code

Aperta
#5,213 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Component: Core Effort: Low Impact: Low
Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Descrizione

Version and Platform (required):

  • Binary Ninja Version: Both tested in 4.0.4958 and 3.5.4526
  • OS: Both tested in Ubuntu Linux and Windows11
  • OS Version: 22.04
  • CPU Architecture: x64

Bug Description:
When I disassemble a function and try to recover its function prototypes, I find the argument information (mainly its order) is inconsistent with the source code. For example, in the function ConvertXYZtoLMS, the definition of argument arg1, 2, 3 in MLIL and pseudo code should be arg4, 5, 6 in source code. Are there any special settings that force BN to exchange arg1, 2, and 3 with arg4, 5, and 6?

Test project: ImageMagick-7.0.10-27
Source file: ImageMagick-7.0.10-27/MagickCore/colorspace.c

Expected Behavior:
The recovered arg1 should be indicated by the instruction 0x08b3aa instead of 0x08b3b9. Same as other arguments.

Screenshots:
BN_ConvertXYZToLMS-Copy

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.

Direzione di ricerca

Reproduce the report using ImageMagick-7.0.10-27, focusing on ConvertXYZtoLMS in ImageMagick-7.0.10-27/MagickCore/colorspace.c. Compare the recovered arguments at instructions 0x08b3aa and 0x08b3b9 in MLIL and pseudocode; done means the recovered argument order matches the source definition.

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

Valutazione

Stack tecnologico
c
Ambito
reverse-engineering
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.