parameters: (self, static_lib)
docstring: Initialize the readelf executable and flags that will be used to
          extract symbols from shared libraries.
docstring_summary: Initialize the readelf executable and flags that will be used to
          extract symbols from shared libraries.
docstring_tokens: Initialize the readelf executable and flags that will be used to extract symbols from shared libraries .
function: def __init__(self, static_lib):
          """
          Initialize the readelf executable and flags that will be used to
          extract symbols from shared libraries.
          """
          self.tool = self.find_tool()
          if self.tool is None:
              # ERROR no NM found
              print("ERROR: Could not find readelf")
              sys.exit(1)
          # TODO: Support readelf for reading symbols from archives
          assert not static_lib and "RealElf does not yet support static libs"
          self.flags = ['--wide', '--symbols']
function_tokens: def __init__ ( self , static_lib ) : self . tool = self . find_tool ( ) if self . tool is None : # ERROR no NM found print ( "ERROR: Could not find readelf" ) sys . exit ( 1 ) # TODO: Support readelf for reading symbols from archives assert not static_lib and "RealElf does not yet support static libs" self . flags = [ '--wide' , '--symbols' ]