govind-mukundan / MapViewer

A windows application to view and analyze information from the linker generated Map file
GNU General Public License v3.0
280 stars 62 forks source link

mapviewer lags when using module filters #6

Closed Mohamed-GN closed 4 years ago

Mohamed-GN commented 5 years ago

when using module filter mapviewer lags and it starts to have high cpu usage note i use mapviewer with gnu arm toolchain (gcc-arm-none-eabi) which has NM and READELF

govind-mukundan commented 5 years ago

Could you attach the map and elf files along with the tools, would make it easy for me to debug

Mohamed-GN commented 5 years ago

the code belongs to the company but this a hello world example generated by the same tools and it presents the same issue but not as fast as for the other code ( due to size maybe ) files.zip

Mohamed-GN commented 5 years ago

sorry there is another tool rather than arm-none-eabi-gcc-nm it is called arm-none-eabi-nm i changed it but the problem remains tool.zip

govind-mukundan commented 5 years ago

thanks, I will have a look at it tomorrow

govind-mukundan commented 5 years ago

Could you try with this version of the exe? Debug.zip

Mohamed-GN commented 5 years ago

thank you very much, i dont have the problem anymore ( at least during the 1h since i downloaded the zip file) one more question did you use arm-none-eabi-gcc-nm or arm-none-eabi-nm or is it the same ??? a final request could you upload the visual studio solution version so maybe in future i can add some features again thank you very much your application is very beneficial

govind-mukundan commented 5 years ago

I used arm-none-eabi-nm, the gcc one was throwing some missing DLL error. They are probably the same in terms of functionality.

Yes I will update the project soon once consolidate the changes and let you know. Thanks!

Mohamed-GN commented 5 years ago

i have a question is the classification to bss,text,data in the symbol side independent from my own settings ( is only dependant on the tools ) thank you

govind-mukundan commented 5 years ago

Do you mean the calculations shown above the "Symbols" tab? These are dependent on the output of NM, not on your settings. NM has some "standard" ways of reporting the symbols - for example d, g are in the Data section etc I have just classified them based on that.

The user configured settings are relevant for the information in the "Modules" tab on the left and depend on your linker script.

Mohamed-GN commented 5 years ago

thank you very much

govind-mukundan commented 5 years ago

I've pushed the changes into the ui-fixes branch. Will merge them on to master next week.

govind-mukundan commented 4 years ago

Fixed in v0.3