Skip to content

analysis.experimental.translateWindowsCfgCalls misses trivial calls #4444

@bb010g

Description

@bb010g

Version and Platform (required):

  • Binary Ninja Version: 3.5.4362-dev Personal, 4552a9c9
  • OS: windows
  • OS Version: 11
  • CPU Architecture: x86_64

Bug Description:

Even with analysis.experimental.translateWindowsCfgCalls enabled, call qword [rel __guard_xfg_dispatch_icall_fptr] lines in the assembly still translate to _guard_xfg_dispatch_icall_nop() in HLIL after analysis. Manually editing an assembly line to call rax, as described in #1760, produces correct analysis.

Steps To Reproduce:

Analyze C:\Windows\System32\windows.storage.dll from Windows version 10.0.22621 Build 22621 with analysis.experimental.translateWindowsCfgCalls enabled and look at the ILs for CAutoDestListParser::_GetDestListStream. The HLIL should show multiple calls to _guard_xfg_dispatch_icall_nop().

Expected Behavior:

These Windows CFG calls should be translated to direct calls.

Screenshots:

HLIL: image

Disassembly: image

Additional Information:

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions