def METHOD_NAME(self):
    if self.base_object is None:
        suffix = "-raw" if not self.m1n1_is_macho() else ""
        self.base_object = f"build/m1n1{suffix}.elf"
    addrs = self._load_elf_symbols(self.base_object, self.u.proxy.get_base())
    # sanity check: compare the .rela table between ELF and m1n1 image on target
    rela_base = addrs["_rela_start"]
    rela_length = addrs["_rela_end"] - rela_base
    rela_target = self.u.iface.readmem(rela_base, rela_length)
    tmp = os.path.join(tempfile.mkdtemp(), "bin")
    path = os.path.join(self.SOURCE_ROOT, self.base_object)
    run_tool(OBJCOPY, "-O", "binary", path, tmp, "--only-section=.rela.dyn")
    rela_objfile = open(tmp, "rb").read()
    if rela_objfile[:len(rela_target)] != rela_target:
        raise Exception(f"Mismatch between {self.base_object} and image on target")