Vector35 / Vector35/binaryninja-api

UIDF Dialog populates user value with incorrect displayed destination

Open
#7,076 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Core: Dataflow Effort: Low Impact: Medium UI: Dialogs
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Bug Description:
The UIDF dialogue at times populates set user values with an incorrectly displayed dest

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Open the attached bndb in HLIL
  2. Right click > set user variable value on rsi at its assignment to var_10
  3. Notice the ASSERT() points to argv as the dest for whatever set variable value, which is technically not incorrect because argv corresponds to rsi, but should point to rsi.

Expected Behavior:
The ASSERT() should appear the same except should have rsi displayed as the dest.

uidf_dialog_bug(5).zip

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.

Research direction

Start with the attached bndb in HLIL and follow the reproduced UIDF dialog flow for “set user variable value” on rsi at its assignment to var_10. Confirm the displayed ASSERT() destination currently shows argv, then verify that the completed change displays rsi instead.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.