def METHOD_NAME(path):
    mem_topo_data = open(path, 'rb').read()
    mem_topo = mem_topology()
    ret = {}
    ctypes.memmove(ctypes.pointer(mem_topo), mem_topo_data, len(mem_topo_data))
    print(mem_topo.m_count)
    for i in range(mem_topo.m_count):
        print(
            f"{i}: {mem_topo.m_mem_data[i].m_tag}, {mem_topo.m_mem_data[i].m_type}, {mem_topo.m_mem_data[i].mem_u2.flow_id}")
    #xbutil_cmd = "xbutil"
    # for alt in xbutil_path_alt:
    #    if os.path.exists(alt):
    #        xbutil_cmd = alt
    #d = os.popen('%s --legacy dump' % xbutil_cmd).read()
    # if len(d) == 0:
    #    return {}
    #ret = json.loads(d)['board']["memory"]
    # return ret