Subroutine Coverage

blib/lib/CPU/x86_64/InstructionWriter.pm
Criterion Covered Total %
subroutine 364 467 77.9
pod 64 394 16.2


line count pod subroutine
4 14 n/a BEGIN
5 14 n/a BEGIN
6 14 n/a BEGIN
7 14 n/a BEGIN
8 14 n/a BEGIN
15 14 n/a BEGIN
25 14 n/a BEGIN
27 0 No AH
27 0 No AL
27 0 No AX
27 0 No BH
27 0 No BL
27 0 No BP
27 0 No BPL
27 0 No BX
27 0 No CH
27 0 No CL
27 0 No CX
27 0 No DH
27 0 No DI
27 0 No DIL
27 0 No DL
27 0 No DX
27 0 No EAX
27 0 No EBP
27 0 No EBX
27 0 No ECX
27 0 No EDI
27 0 No EDX
27 0 No ESI
27 0 No ESP
27 0 No R10
27 0 No R10B
27 0 No R10D
27 0 No R10W
27 0 No R11
27 0 No R11B
27 0 No R11D
27 0 No R11W
27 0 No R12
27 0 No R12B
27 0 No R12D
27 0 No R12W
27 0 No R13
27 0 No R13B
27 0 No R13D
27 0 No R13W
27 0 No R14
27 0 No R14B
27 0 No R14D
27 0 No R14W
27 0 No R15
27 0 No R15B
27 0 No R15D
27 0 No R15W
27 0 No R8
27 0 No R8B
27 0 No R8D
27 0 No R8W
27 0 No R9
27 0 No R9B
27 0 No R9D
27 0 No R9W
27 0 No RAX
27 0 No RBP
27 0 No RBX
27 0 No RCX
27 0 No RDI
27 0 No RDX
27 0 No RFLAGS
27 0 No RIP
27 0 No RSI
27 0 No RSP
27 0 No SI
27 0 No SIL
27 0 No SP
27 0 No SPL
69 0 No unknown
70 0 No unknown8
71 0 No unknown16
72 0 No unknown32
73 47479 No unknown64
74 0 No unknown7
75 0 No unknown15
76 0 No unknown31
77 0 No unknown63
93 139 Yes get_label
106 61 Yes mark
132 47496 Yes bytes
139 117 Yes nop
144 0 Yes pause
150 2 Yes call_label
154 14 n/a BEGIN
160 2 n/a __ANON__
171 0 Yes call_rel
179 7 Yes call_abs_reg
186 63 Yes call_abs_mem
190 3 No ret
204 4 Yes jmp
208 14 n/a BEGIN
214 8 n/a __ANON__
228 7 Yes jmp_abs_reg
237 63 Yes jmp_abs_mem
241 4 Yes jmp_if_eq
245 4 Yes jmp_if_ne
250 4 Yes jmp_if_unsigned_lt
254 4 Yes jmp_if_unsigned_gt
257 4 Yes jmp_if_unsigned_le
260 4 Yes jmp_if_unsigned_ge
265 4 Yes jmp_if_signed_lt
268 4 Yes jmp_if_signed_gt
271 4 Yes jmp_if_signed_le
274 4 Yes jmp_if_signed_ge
278 4 Yes jmp_if_sign
281 4 Yes jmp_unless_sign
284 4 Yes jmp_if_overflow
287 4 Yes jmp_unless_overflow
290 4 Yes jmp_if_parity_even
294 4 Yes jmp_if_parity_odd
299 2 Yes jmp_cx_zero
302 2 Yes loop
304 2 Yes loopz
307 2 Yes loopnz
311 49 Yes mov64_reg_reg
314 441 No mov64_mem_reg
315 441 No mov32_mem_reg
316 441 No mov16_mem_reg
317 441 No mov8_mem_reg
319 441 No mov64_reg_mem
320 441 No mov32_reg_mem
321 441 No mov16_reg_mem
322 441 No mov8_reg_mem
326 63 Yes mov64_reg_imm
331 63 n/a _encode_mov64_imm
332 14 n/a BEGIN
349 56 No mov32_reg_imm
353 56 n/a __ANON__
356 49 No mov16_reg_imm
361 49 n/a __ANON__
364 55 No mov8_reg_imm
373 55 n/a __ANON__
377 0 No mov64_mem_imm
378 0 No mov32_mem_imm
379 0 No mov16_mem_imm
380 0 No mov8_mem_imm
383 49 No add64_reg_reg
384 49 No add32_reg_reg
385 49 No add16_reg_reg
386 49 No add8_reg_reg
388 441 No add64_reg_mem
389 441 No add32_reg_mem
390 441 No add16_reg_mem
391 441 No add8_reg_mem
393 441 No add64_mem_reg
394 441 No add32_mem_reg
395 441 No add16_mem_reg
396 441 No add8_mem_reg
398 56 No add64_reg_imm
399 56 No add32_reg_imm
400 49 No add16_reg_imm
401 35 No add8_reg_imm
403 504 No add64_mem_imm
404 504 No add32_mem_imm
405 441 No add16_mem_imm
406 315 No add8_mem_imm
409 49 No addcarry64_reg_reg
410 49 No addcarry32_reg_reg
411 49 No addcarry16_reg_reg
412 49 No addcarry8_reg_reg
414 441 No addcarry64_reg_mem
415 441 No addcarry32_reg_mem
416 441 No addcarry16_reg_mem
417 441 No addcarry8_reg_mem
419 441 No addcarry64_mem_reg
420 441 No addcarry32_mem_reg
421 441 No addcarry16_mem_reg
422 441 No addcarry8_mem_reg
424 56 No addcarry64_reg_imm
425 56 No addcarry32_reg_imm
426 49 No addcarry16_reg_imm
427 35 No addcarry8_reg_imm
429 504 No addcarry64_mem_imm
430 504 No addcarry32_mem_imm
431 441 No addcarry16_mem_imm
432 315 No addcarry8_mem_imm
435 49 No and64_reg_reg
436 49 No and32_reg_reg
437 49 No and16_reg_reg
438 49 No and8_reg_reg
440 441 No and64_reg_mem
441 441 No and32_reg_mem
442 441 No and16_reg_mem
443 441 No and8_reg_mem
445 441 No and64_mem_reg
446 441 No and32_mem_reg
447 441 No and16_mem_reg
448 441 No and8_mem_reg
450 56 No and64_reg_imm
451 56 No and32_reg_imm
452 49 No and16_reg_imm
453 35 No and8_reg_imm
455 504 No and64_mem_imm
456 504 No and32_mem_imm
457 441 No and16_mem_imm
458 315 No and8_mem_imm
461 49 No or64_reg_reg
462 49 No or32_reg_reg
463 49 No or16_reg_reg
464 49 No or8_reg_reg
466 441 No or64_reg_mem
467 441 No or32_reg_mem
468 441 No or16_reg_mem
469 441 No or8_reg_mem
471 441 No or64_mem_reg
472 441 No or32_mem_reg
473 441 No or16_mem_reg
474 441 No or8_mem_reg
476 56 No or64_reg_imm
477 56 No or32_reg_imm
478 49 No or16_reg_imm
479 35 No or8_reg_imm
481 504 No or64_mem_imm
482 504 No or32_mem_imm
483 441 No or16_mem_imm
484 315 No or8_mem_imm
487 49 No xor64_reg_reg
488 49 No xor32_reg_reg
489 49 No xor16_reg_reg
490 49 No xor8_reg_reg
492 441 No xor64_reg_mem
493 441 No xor32_reg_mem
494 441 No xor16_reg_mem
495 441 No xor8_reg_mem
497 441 No xor64_mem_reg
498 441 No xor32_mem_reg
499 441 No xor16_mem_reg
500 441 No xor8_mem_reg
502 56 No xor64_reg_imm
503 56 No xor32_reg_imm
504 49 No xor16_reg_imm
505 35 No xor8_reg_imm
507 504 No xor64_mem_imm
508 504 No xor32_mem_imm
509 441 No xor16_mem_imm
510 315 No xor8_mem_imm
513 77 No shl64_reg_imm
514 63 No shl32_reg_imm
515 49 No shl16_reg_imm
516 55 No shl8_reg_imm
518 7 No shl64_reg_cl
519 7 No shl32_reg_cl
520 7 No shl16_reg_cl
521 11 No shl8_reg_cl
523 315 No shl64_mem_imm
524 315 No shl32_mem_imm
525 315 No shl16_mem_imm
526 315 No shl8_mem_imm
528 63 No shl64_mem_cl
529 63 No shl32_mem_cl
530 63 No shl16_mem_cl
531 63 No shl8_mem_cl
534 77 No shr64_reg_imm
535 63 No shr32_reg_imm
536 49 No shr16_reg_imm
537 55 No shr8_reg_imm
539 7 No shr64_reg_cl
540 7 No shr32_reg_cl
541 7 No shr16_reg_cl
542 11 No shr8_reg_cl
544 315 No shr64_mem_imm
545 315 No shr32_mem_imm
546 315 No shr16_mem_imm
547 315 No shr8_mem_imm
549 63 No shr64_mem_cl
550 63 No shr32_mem_cl
551 63 No shr16_mem_cl
552 63 No shr8_mem_cl
555 77 No sar64_reg_imm
556 63 No sar32_reg_imm
557 49 No sar16_reg_imm
558 55 No sar8_reg_imm
560 7 No sar64_reg_cl
561 7 No sar32_reg_cl
562 7 No sar16_reg_cl
563 11 No sar8_reg_cl
565 315 No sar64_mem_imm
566 315 No sar32_mem_imm
567 315 No sar16_mem_imm
568 315 No sar8_mem_imm
570 63 No sar64_mem_cl
571 63 No sar32_mem_cl
572 63 No sar16_mem_cl
573 63 No sar8_mem_cl
576 49 No cmp64_reg_reg
577 49 No cmp32_reg_reg
578 49 No cmp16_reg_reg
579 49 No cmp8_reg_reg
581 441 No cmp64_reg_mem
582 441 No cmp32_reg_mem
583 441 No cmp16_reg_mem
584 441 No cmp8_reg_mem
586 0 No cmp64_mem_reg
587 0 No cmp32_mem_reg
588 0 No cmp16_mem_reg
589 0 No cmp8_mem_reg
591 56 No cmp64_reg_imm
592 56 No cmp32_reg_imm
593 49 No cmp16_reg_imm
594 35 No cmp8_reg_imm
596 504 No cmp64_mem_imm
597 504 No cmp32_mem_imm
598 441 No cmp16_mem_imm
599 315 No cmp8_mem_imm
602 49 No test64_reg_reg
603 49 No test32_reg_reg
604 49 No test16_reg_reg
605 49 No test8_reg_reg
607 441 No test64_reg_mem
608 441 No test32_reg_mem
609 441 No test16_reg_mem
610 441 No test8_reg_mem
612 56 No test64_reg_imm
613 56 No test32_reg_imm
614 49 No test16_reg_imm
615 35 No test8_reg_imm
617 504 No test64_mem_imm
618 504 No test32_mem_imm
619 441 No test16_mem_imm
620 315 No test8_mem_imm
623 7 No dec64_reg
624 7 No dec32_reg
625 7 No dec16_reg
626 7 No dec8_reg
628 63 No dec64_mem
629 63 No dec32_mem
630 63 No dec16_mem
631 63 No dec8_mem
634 7 No inc64_reg
635 7 No inc32_reg
636 7 No inc16_reg
637 7 No inc8_reg
639 63 No inc64_mem
640 63 No inc32_mem
641 63 No inc16_mem
642 63 No inc8_mem
645 7 No not64_reg
646 7 No not32_reg
647 7 No not16_reg
648 7 No not8_reg
650 63 No not64_mem
651 63 No not32_mem
652 63 No not16_mem
653 63 No not8_mem
656 7 No neg64_reg
657 7 No neg32_reg
658 7 No neg16_reg
659 7 No neg8_reg
661 63 No neg64_mem
662 63 No neg32_mem
663 63 No neg16_mem
664 63 No neg8_mem
667 7 No div64u_reg
668 7 No div32u_reg
669 7 No div16u_reg
670 7 No div8u_reg
672 63 No div64u_mem
673 63 No div32u_mem
674 63 No div16u_mem
675 63 No div8u_mem
677 7 No div64s_reg
678 7 No div32s_reg
679 7 No div16s_reg
680 7 No div8s_reg
682 63 No div64s_mem
683 63 No div32s_mem
684 63 No div16s_mem
685 63 No div8s_mem
688 0 Yes mul64s_dxax_reg
689 0 Yes mul32s_dxax_reg
690 0 Yes mul16s_dxax_reg
691 0 Yes mul8s_ax_reg
696 1 Yes sign_extend_al_ax
699 1 Yes sign_extend_ax_eax
702 1 Yes sign_extend_eax_rax
705 1 Yes sign_extend_ax_dx
708 1 Yes sign_extend_eax_edx
711 1 Yes sign_extend_rax_rdx
716 3 Yes flag_carry
717 1 Yes clc
718 1 Yes cmc
719 1 Yes stc
722 2 Yes flag_direction
723 1 Yes cld
724 1 Yes std
728 7 Yes push_reg
735 8 Yes push_imm
736 14 n/a BEGIN
744 63 Yes push_mem
748 7 Yes pop_reg
754 63 Yes pop_mem
758 28 No enter
775 1 No leave
779 0 Yes syscall
784 0 Yes strcmp64
787 0 Yes strcmp32
790 0 Yes strcmp16
793 0 Yes strcmp8
798 0 Yes mfence
802 0 Yes lfence
806 0 Yes sfence
811 0 No cache_flush
817 14 n/a _encode_op_reg_reg
818 14 n/a BEGIN
832 686 n/a _append_op64_reg_reg
835 14 n/a BEGIN
842 595 n/a _append_op32_reg_reg
845 14 n/a BEGIN
853 553 n/a _append_op16_reg_reg
856 14 n/a BEGIN
864 371 n/a _append_op8_reg_reg
865 14 n/a BEGIN
891 212 n/a _append_op8_opreg_reg
892 14 n/a BEGIN
911 7938 n/a _append_op64_reg_mem
924 7686 n/a _append_op32_reg_mem
936 7686 n/a _append_op16_reg_mem
949 6426 n/a _append_op8_reg_mem
971 1260 n/a _append_op8_opreg_mem
989 43344 n/a _encode_op_reg_mem
990 14 n/a BEGIN
1044 392 n/a _append_mathop64_const
1049 392 n/a _encode_mathop64_imm
1050 14 n/a BEGIN
1065 392 n/a _append_mathop32_const
1070 392 n/a _encode_mathop32_imm
1071 14 n/a BEGIN
1088 343 n/a _append_mathop16_const
1093 343 n/a _encode_mathop16_imm
1094 14 n/a BEGIN
1111 245 n/a _append_mathop8_const
1112 14 n/a BEGIN
1132 3528 n/a _append_mathop64_const_to_mem
1141 3528 n/a _encode_mathop64_mem_immed
1142 14 n/a BEGIN
1151 3528 n/a _append_mathop32_const_to_mem
1160 3528 n/a _encode_mathop32_mem_immed
1161 14 n/a BEGIN
1170 3087 n/a _append_mathop16_const_to_mem
1180 3087 n/a _encode_mathop16_mem_immed
1181 14 n/a BEGIN
1190 2205 n/a _append_mathop8_const_to_mem
1199 2205 n/a _encode_mathop8_mem_immed
1200 14 n/a BEGIN
1207 732 n/a _append_shiftop_reg_imm
1229 3780 n/a _append_shiftop_mem_imm
1251 64 n/a _append_jmp_cond
1254 14 n/a BEGIN
1260 128 n/a __ANON__
1273 8 n/a _append_jmp_cx
1274 14 n/a BEGIN
1280 8 n/a __ANON__
1291 44694 n/a _append_possible_unknown
1296 0 n/a __ANON__
1311 78 n/a _mark_unresolved
1331 0 n/a _repack
1332 14 n/a BEGIN
1342 47496 n/a _resolve