Navigation with `Go to Address` in collapsed region fails

Aberta
#8,648 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
42/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cpp
Domínio
desktop

Direção de pesquisa

The payload names no source file or test, so the first step is finding where the Go to Address handler maps an address to a view position in the collapsed-region code of the UI. Reproduce it in the GUI with a collapsed region, then check whether the target address is resolved before or after the region is expanded. Done means the region expands and the cursor lands on the exact address entered, with a regression test if the UI layer has one.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Version and Platform (required):

  • Binary Ninja Version: 6.0.10601-Stable
  • Edition: Commercial
  • OS: Ubuntu Linux
  • OS Version: 24.04
  • CPU Architecture: x64

Bug Description:
Using Go to Address to navigate to an address inside a collapsed code region leaves the region collapsed and jumps to a different address in the same function.

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

  1. Copy the address of a line inside a collapsible region.
  2. Collapse the region.
  3. Open Go to Address and enter the copied address.
  4. Observe that the region remains collapsed and navigation lands at a different address.

Expected Behavior:
I expect the region to be expanded and the view to be navigated to the exact address that I've entered.

Linguagem predominante
C++
Estrelas
1.3k
Forks
304
Merge médio
2d 20h
PRs com merge (30d)
10

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Vector35/binaryninja-api

Todas as issues de Vector35/binaryninja-api

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.