binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

"stackVariableColor" not applied in HLIL, MLIL and Pseudo-C views

Open Donaldduck8 opened this issue 1 year ago • 0 comments

Version and Platform (required):

  • Binary Ninja Version: [4.1.5261-dev (859dedd4)]
  • OS: [Windows]
  • OS Version: [22621.2283]
  • CPU Architecture: [x64]

Bug Description: The theme color "stackVariableColor" does not apply to stack variables in HLIL, MLIL or Pseudo-C views. It does still apply to stack variables in the Disassembly and LLIL views.

Steps To Reproduce:

  1. Use a theme which defines a stackVariableColor.
  2. Open any binary and go to any function that makes use of stack variables.
  3. Open the MLIL, HLIL or Pseudo-C views.
  4. Observe that stack variables are not correctly colored in these views, while they are correctly colored in the LLIL and Disassembly views.

Expected Behavior: Expected behavior is that the stackVariableColor is applied to stack variables across all views.

Screenshots: Observe that stack variables are not colored in the HLIL, MLIL or Pseudo-C views: grafik

Observe that stack variables are correctly colored in the LLIL and Disassembly views: grafik

Donaldduck8 avatar May 12 '24 18:05 Donaldduck8