REhints / HexRaysCodeXplorer

Hex-Rays Decompiler plugin for better code navigation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HexRaysCodeXplorer's REconstruct Type only reconstruct 1 element of the correct struct

trietptm opened this issue · comments

Hi, I build the latest HexRaysCodeXplorer from GitHub and test the plugin with a sample test:
https://github.com/trietptm/HexRaysCodeXplorer/blob/master/tests/Box_1.exe
https://github.com/trietptm/HexRaysCodeXplorer/blob/master/tests/Box_1.cpp

I see that HexRaysCodeXplorer's REconstruct Type doesn't reconstruct the struct well here and it only recognize 1 element of the correct struct.

snap 2018-05-02 at 19 21 02

snap 2018-05-02 at 19 21 27

snap 2018-05-02 at 19 23 06

snap 2018-05-02 at 19 26 20

I have found that if I use the "Reset pointer type" operation of IDA, I could receive the correct structure with HexRaysCodeXplorer :) .

snap 2018-05-02 at 20 02 57

snap 2018-05-02 at 20 03 30

snap 2018-05-02 at 20 06 30