def get_systemmap():
 map = ('/boot/System.map-%s' % os.uname()[2])
 if os.path.isfile(map):
  return map
 map = ('/lib/modules/%s/build/System.map' % os.uname()[2])
 if os.path.isfile(map):
  return map
 return None

def get_systemmap ( ) : map = ( '/boot/System.map-%s' % os . uname ( ) [ 2 ] ) if os . path . isfile ( map ) : return map map = ( '/lib/modules/%s/build/System.map' % os . uname ( ) [ 2 ] ) if os . path . isfile ( map ) : return map return None
return the full path to system .