binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Failing to parse auto-generated function signature

Open joelreymont opened this issue 1 year ago • 2 comments

Version and Platform (required):

  • Binary Ninja Version: 4.0.4958, ddff9339
  • OS: macos
  • OS Version: 14.4
  • CPU Architecture: arm64

BN internal database: major dine favor

Bug Description:

00012d5c          x0_3, v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 = DjiUser_FillInUserInfo(userInfo: &userInfo)
00012d6c          if (x0_3 != 0)

The Change Type dialog fails to parse its own type spec. It puts the structure definition in the signature

long unsigned int DjiUser_FillInUserInfo(struct { char appName[0x20]; char appId[0x10]; char appKey[0x20]; char appLicense[0x200]; char developerAccount[0x40]; char baudRate[0x7]; }* userInfo)

Related to #5325.

joelreymont avatar Apr 25 '24 16:04 joelreymont

Related to https://github.com/Vector35/binaryninja-api/issues/5328

xusheng6 avatar Apr 30 '24 07:04 xusheng6

We probably need to better understand https://github.com/Vector35/binaryninja-api/issues/5328 to assign a component tag to this issue

xusheng6 avatar Apr 30 '24 07:04 xusheng6