radare2 icon indicating copy to clipboard operation
radare2 copied to clipboard

Error when load zignature

Open Ret2c7 opened this issue 2 years ago • 2 comments
trafficstars

Environment

radare2 5.8.9 31309 @ linux-x86-64
birth: git.5.8.8-671-g7b05911ab5 2023-10-12__11:06:37
commit: 7b05911ab5f1aa5ed81983b2fe9755033a5b5d09
options: gpl -O? cs:5 cl:2 make

Linux x86_64

Description

When I encountered an error while loading the zignature, what could be the possible causes, and how should I pinpoint the issue?

Test

QQ图片20231013145327

Ret2c7 avatar Oct 13 '23 06:10 Ret2c7

Never seen that before but looks like the vararg part of the function signatures is failing to be parsed. Can you try to reduce the testcase to only one line ? I mean the zignature file should contain the "...)" pattern somewhere

trufae avatar Oct 13 '23 06:10 trufae

I used the following command to generate a JSON file.

aa
zaF
zj > 1.json

I'm not quite sure what you mean by "one line",like this? image

Ret2c7 avatar Oct 13 '23 07:10 Ret2c7