Skip to content

Commit c96dcb3

Browse files
committed
rules: Add 15 opcodes
1 parent 701c60a commit c96dcb3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

lpdiff.sh

+30
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,30 @@ s/: 18../: 18**/g
5252
s/: 19../: 19**/g
5353
# const-string: zap all operands
5454
s/: 1a.. ..../: 1a** ****/g
55+
# check-cast: zap all operands
56+
s/: 1f.. ..../: 1f** ****/g
5557
# new-instance: zap all operands
5658
s/: 22.. ..../: 22** ****/g
5759
# throw: zap register operand
5860
s/: 27../: 27**/g
5961
# goto: zap offset operand
6062
s/: 28../: 28**/g
63+
# goto/16: zap offset operand
64+
s/: 29.. ..../: 29** ****/g
6165
# packed-switch: zap all operands
6266
s/: 2b.. .... ..../: 2b** **** ****/g
6367
# cmpl-float: zap all operands
6468
s/: 2d.. ..../: 2d** ****/g
6569
# cmpg_float: zap all operands
6670
s/: 2e.. ..../: 2e** ****/g
71+
# cmp-long: zap all operands
72+
s/: 31.. ..../: 31** ****/g
73+
# if-ne: zap all operands
74+
s/: 33.. ..../: 33** ****/g
75+
# if-gt: zap all operands
76+
s/: 36.. ..../: 36** ****/g
77+
# if-eqz: zap all operands
78+
s/: 38.. ..../: 38** ****/g
6779
# if-nez: zap all operands
6880
s/: 39.. ..../: 39** ****/g
6981
# if-gez: zap all operands
@@ -76,6 +88,14 @@ s/: 52.. ..../: 52** ****/g
7688
s/: 54.. ..../: 54** ****/g
7789
# iput: zap all operands
7890
s/: 59.. ..../: 59** ****/g
91+
# sget: zap all operands
92+
s/: 60.. ..../: 60** ****/g
93+
# sget-wide: zap all operands
94+
s/: 61.. ..../: 61** ****/g
95+
# sget-boolean: zap all operands
96+
s/: 63.. ..../: 63** ****/g
97+
# sput: zap all operands
98+
s/: 67.. ..../: 67** ****/g
7999
# invoke-virtual: zap all operands
80100
s/: 6e.. .... ..../: 6e** **** ****/g
81101
# invoke-direct: zap all operands
@@ -84,10 +104,20 @@ s/: 70.. .... ..../: 70** **** ****/g
84104
s/: 71.. .... ..../: 71** **** ****/g
85105
# invoke-interface: zap all operands
86106
s/: 72.. .... ..../: 72** **** ****/g
107+
# int-to-long: zap all operands
108+
s/: 81../: 81**/g
87109
# long-to-float: zap all operands
88110
s/: 85../: 85**/g
89111
# float-to-double: zap all operands
90112
s/: 89../: 89**/g
113+
# add-int/2addr: zap all operands
114+
s/: b0../: b0**/g
115+
# mul-long/2addr: zap all operands
116+
s/: bb../: bb**/g
117+
# sub-long/2addr: zap all operands
118+
s/: bc../: bc**/g
119+
# mul-long/2addr: zap all operands
120+
s/: bd../: bd**/g
91121
# div-float/2addr: zap all operands
92122
s/: c9../: c9**/g
93123
# add-double/2addr: zap all operands

0 commit comments

Comments
 (0)