def get_new_phdr_entry(self): return get_phdr_class(self.ehdr)
def create_empty_elf(_class): header = create_empty_ehdr(_class) header.e_phentsize = get_phdr_class(header).get_size() return header.pack()