# Case for test_gate_cases.py in this directory: two code sections whose names share their first # 256 characters, and the relocation names the longer one, whose entry is a ret. Resolved through the # ELF section table the target is that section, so the recorded target is not an entry pad and the case # fails. Resolved by printed name it would be judged against the shorter section instead, and that # section's endbr64 entry would make a pointer to a ret pass - the false pass the identity rule must # prevent. objdump's disassembly still has to be attributed to a section, so when a tool prints the # shared form the target is refused as unattributable instead. The test asserts both outcomes of the # same rule and records which printing it saw. .section ".text._RINvXs9_NtNtNtCshlK23TFNqsU_4core4iter8adapters4fuseINtB6_4FuseINtNtNtBc_5slice4iter4IterINtNtBc_6option6OptionNtNtNtCsgpg0phS4SCA_10nv_rs_core5rmapi3gpu12P2pLinkEntryEEEINtB6_8FuseImplBZ_E8try_folduNCINvNtNtNtBc_3ops12control_flow11ControlFlowuENCINvNvNtNtNtBa_6traits8iterator8Iterator3any5checkRB1L_NCNvMs7_B1N_INtB1N_5BoundKj0_B60_XXXXX","ax" .LA: endbr64 ret .section ".text._RINvXs9_NtNtNtCshlK23TFNqsU_4core4iter8adapters4fuseINtB6_4FuseINtNtNtBc_5slice4iter4IterINtNtBc_6option6OptionNtNtNtCsgpg0phS4SCA_10nv_rs_core5rmapi3gpu12P2pLinkEntryEEEINtB6_8FuseImplBZ_E8try_folduNCINvNtNtNtBc_3ops12control_flow11ControlFlowuENCINvNvNtNtNtBa_6traits8iterator8Iterator3any5checkRB1L_NCNvMs7_B1N_INtB1N_5BoundKj0_B60_XXXXYYYYY","ax" .LB: ret .section .rodata,"a" .quad .LB # the longer section, whose entry is a ret