(text: str)
| 399 | call_target_counts: Dict[int, int] = {} |
| 400 | for off in range(0, max(0, instr_len - 3), 4): |
| 401 | word = struct.unpack_from("<I", instr, off)[0] |
| 402 | pc = base_va + off |
| 403 | tgt = _decode_bl_target(pc, word) |
| 404 | if tgt is not None and base_va <= tgt < hi and (tgt - base_va) % 4 == 0: |
| 405 | call_target_counts[tgt] = call_target_counts.get(tgt, 0) + 1 |
| 406 | if _is_frame_prologue(word): |
| 407 | prologues.add(base_va + off) |
| 408 | |
| 409 | starts.update(prologues) |
| 410 | for tgt, count in call_target_counts.items(): |
| 411 | if tgt in prologues or count >= 2: |
| 412 | starts.add(tgt) |
| 413 |
no test coverage detected