stripVersionSuffix

private fnstring stripVersionSuffix(string name)

Strip a trailing symbol-version marker such as " (2)" from a name.

Parameters

nameThe symbol name as printed by readelf.

Returns

The name without the trailing version marker, or unchanged.