We have an issue with getFullSymbolName: it assumes that the symbol passed is
always in the .symtab, what is wrong. We might calculate and report a wrong index currently.
I've added a test case revealing that.
This patch adds the "symbol index" argument to getFullSymbolName signature,
what fixes the issue.
Do we need all these checks for the test purpose? If so, why do we need comparatively fewer in the GNU version?