Commit c94b936
committed
classfile/verifier.cpp
Verified by manually inserting an invalid opcode into a classfile.
Replaced an opcode with the 'cf' opcode, which is invalid. The opcodes
'cb'-'fd' are unassigned and reserved for future use.
Caused by: java.lang.VerifyError: Bad instruction: cf
Exception Details:
Location:
MediumHarvestChurn.main([Ljava/lang/String;)V @56: fast_fgetfield
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a03 32b8 0007 b600 0d3c bb00 1159 b700
0000010: 134e 1b9a 0006 a700 6a2d 1064 b200 1468
0000020: bc08 b600 1a57 a7ff ec3a 0403 3605 1505
0000030: 1020 a200 2803 3606 cf06 b200 20a2 0017
0000040: 2d15 05b2 0020 6815 0660 b600 2357 8406
0000050: 01a7 ffe7 8405 01a7 ffd7 b800 2706 b200
0000060: 2c68 bc08 4dbb 0011 59b7 0013 4e01 4db8
0000070: 0027 8401 ffb2 002f 1233 b600 35a7 ff95
0000080: b1
Exception Handler Table:
bci [25, 38] => handler: 41
Stackmap Table:
append_frame(@18,Integer,Top,Object[openjdk#17])
same_frame(@25)
same_locals_1_stack_item_frame(@41,Object[openjdk#30])
append_frame(@46,Object[openjdk#30],Integer)
append_frame(@56,Integer)
chop_frame(@84,1)
chop_frame(@90,1)
chop_frame(@128,1)1 parent 3187b27 commit c94b936
File tree
1 file changed
+27
-24
lines changed1 file changed
+27
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
511 | 510 | | |
512 | 511 | | |
513 | 512 | | |
| |||
518 | 517 | | |
519 | 518 | | |
520 | 519 | | |
521 | | - | |
522 | | - | |
523 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
524 | 526 | | |
525 | 527 | | |
526 | 528 | | |
527 | 529 | | |
528 | 530 | | |
529 | 531 | | |
530 | | - | |
| 532 | + | |
531 | 533 | | |
532 | | - | |
533 | | - | |
| 534 | + | |
| 535 | + | |
534 | 536 | | |
535 | 537 | | |
536 | 538 | | |
537 | | - | |
538 | | - | |
| 539 | + | |
| 540 | + | |
539 | 541 | | |
540 | 542 | | |
541 | 543 | | |
542 | 544 | | |
543 | 545 | | |
544 | 546 | | |
545 | | - | |
546 | | - | |
547 | | - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
548 | 551 | | |
549 | 552 | | |
550 | 553 | | |
551 | 554 | | |
552 | 555 | | |
553 | 556 | | |
554 | | - | |
| 557 | + | |
| 558 | + | |
555 | 559 | | |
556 | 560 | | |
557 | | - | |
558 | | - | |
| 561 | + | |
| 562 | + | |
559 | 563 | | |
560 | | - | |
| 564 | + | |
561 | 565 | | |
562 | 566 | | |
563 | 567 | | |
| |||
566 | 570 | | |
567 | 571 | | |
568 | 572 | | |
569 | | - | |
570 | | - | |
| 573 | + | |
| 574 | + | |
571 | 575 | | |
572 | 576 | | |
573 | 577 | | |
574 | 578 | | |
575 | | - | |
| 579 | + | |
576 | 580 | | |
577 | 581 | | |
578 | 582 | | |
579 | | - | |
580 | 583 | | |
581 | 584 | | |
582 | 585 | | |
| |||
0 commit comments