I need to store all debugging symbols (for simplicity, only function names + addresses). I do not have function sizes. Like:
_printf 0x1234
_fprintf 0x1255
_scanf 0x1300
I need a very fast algorithm for determining function name by address, for example:
0x1258 - _fprintf+0x3
Simple STL map is far from useful. What data structure will fit here?