elf-parser icon indicating copy to clipboard operation
elf-parser copied to clipboard

Calling get_* multiple times causes dups

Open boguscoder opened this issue 7 years ago • 1 comments

Parser’s getters are not guarded against multiple calls and not only repeat unnecessary parsing over and over but also populate data vectors with duplicate entries. At least it would be nice to clean vectos before parsing At best it may makes sense to cache results

boguscoder avatar Feb 20 '18 16:02 boguscoder

Great idea but its advisable for user calling getters to store them to prevent elf_parser.cpp from holding large parsed data within the program

finixbit avatar Apr 26 '18 13:04 finixbit