WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
40.06k stars 1.76k forks source link

[Bug] Parsing recersive structre err #1634

Open sagasm opened 2 months ago

sagasm commented 2 months ago

Operating System

Windows

What's the issue you encountered?

when parsing recursive structre, Pattern Data gives error result:

How can the issue be reproduced?

using recurcive.hexpat parsing test.codesysDat: test.zip

ImHex Version

33e9ad7@master

ImHex Build Type

Installation type

Portable

Additional context?

No response

sagasm commented 2 months ago

After read source code "void Parser::parseCustomTypeParameters", I found only recersive structre with parameters has this kind of problem.