ampotos / dynStruct

Reverse engineering tool for automatic structure recovering and memory use analysis based on DynamoRIO and Capstone
MIT License
314 stars 34 forks source link

name array with array_<id> instead of struct_<id> #4

Open ampotos opened 8 years ago

ampotos commented 8 years ago

When the option -k is used or when the analyze is run on a block via the webui all structure are named struc even if they look like an array. Change the name of detected array by array_ will help to know this block is an array without having to go to the struct view.

That can be easyli done in Struct.clean_all_struct() (Struct.not_a_struct() return True when the block is detected as an array).