Stack Cookie Code Should Be Able To Hidden In Decompiler

Open
#3,290 1 comment 9 reactions 1 assignee View on GitHub

@D0ntPanic is already working on this.

Since Jul 26, 2024.

Assessment

This issue has not been assessed yet.

Description

Component: Core Impact: Medium

If we reverse engineered a PE that have stack cookie protection, some functions have a code fragment that belongs to stack cookie protection like this in the beginning of the function:

18000168e      void var_248
18000168e      int64_t rax_1 = data_180023000 ^ &var_248

And of course there is another code fragment that calls to __security_check_cookie function at the bottom of the function.

I guess that code fragments making decompiler output a little bit dirty. Most of the time we don't care about that code fragment. It would be nice to have an option to hide them.

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.