Analysis never converges for a specific function

Aberta
#8,641 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
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cpp

Direção de pesquisa

Start by reproducing the issue with the binary grey mask implements earnestly, then inspect analysis of the function at 0x009c0730 and compare its repeated states. The issue points to earlier pure-virtual vtable handling and commit fd19e8db514b468806caab7bde888df1317ad4aa as context. Done means identifying and fixing the remaining update-limit oscillation so forced analysis completes.

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

Descrição

Version and Platform (required):

  • Binary Ninja Version: 6.1.10853-dev Ultimate, 2f5af57a
  • OS: macos
  • OS Version: 27.0.1
  • CPU Architecture: arm64

Bug Description:
In https://github.com/Vector35/binaryninja-api/issues/8638, a user saw analysis never complete when working with a specific binary. This was a result of forcing analysis on a handful of functions that had hit analysis update limits.

Most of the functions that hit the update count limit were due to a problem with how pure virtual functions were handled in recovered vtables. This was fixed on dev a few weeks ago by https://github.com/Vector35/binaryninja-api/commit/fd19e8db514b468806caab7bde888df1317ad4aa.

There is one remaining function in the binary that still hits the update count limit on current dev, which is the function at 0x009c0730. I have not looked into what is causing it to update repeatedly. It appears to oscillate between a couple of different states.

Steps To Reproduce:

  1. Open the binary from grey mask implements earnestly.
  2. Wait for analysis to complete.
  3. Go to 0x009c0730 and note that it is marked as skipped due to hitting the update count limit.
  4. Force analysis on 0x009c0730.

Expected Behavior:
Analysis completes.

Instead, the function appears to oscillate between a couple of different states.

Binary:
grey mask implements earnestly

Additional information:
The behavior for the function in question is the same in 6.0 stable.

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.