Creating structures on stack

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start in the Stack window's existing Create structure action and compare its behavior for a selected range with a stack variable selection. Review the Types workflow described in the issue as a reference for the intended result. Done means the action can create and assign a structure to the stack variable, and range selection behaves as expected.

Written by the indexing model from the issue text.

Description

What is the feature you'd like to have?
There's a stack var that's actually a structure. At the moment, the option to create structure on the stack is visible only when the selected range is ?? in the Stack window. Binja disallows to remove the var completely which would allow me to create proper structure. I've to manually open Types, create structure and assign it. There is already Create structure option in the window, can it be expanded to work on the vars too ?

Is your feature request related to a problem?
Not really.

Image Image

There is an option to select range (including the stack var) and create structure but this does not work at all as expected.
Image Image
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

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.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.