File tree 3 files changed +40
-0
lines changed
regression/cbmc-java/lots_local_variables_manual
3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ ; This generates a class file that attempts to access local variables indexed
2
+ ; at 255, 256 and 65534
3
+ ; The class file is generated from this file using the following command:
4
+ ; java -jar jasmin.jar ManyLocalVariables.j
5
+ ; The jasmin jar file can be obtained from: http://jasmin.sourceforge.net/
6
+
7
+ .class public ManyLocalVariables
8
+ .super java/lang/Object
9
+
10
+ .method public static test ()I
11
+ .limit stack 10
12
+ .limit locals 65535
13
+ .line 1
14
+ iconst_1
15
+ istore 1
16
+
17
+ iconst_1
18
+ istore 255
19
+
20
+ iconst_1
21
+ istore_w 256
22
+
23
+ iconst_1
24
+ istore_w 65534
25
+
26
+ iload 1
27
+ iload 255
28
+ iload_w 256
29
+ iload_w 65534
30
+
31
+ iadd
32
+ iadd
33
+ iadd
34
+
35
+ ireturn
36
+ .end method
Original file line number Diff line number Diff line change
1
+ CORE
2
+ ManyLocalVariables.class
3
+ --function ManyLocalVariables.test
4
+ VERIFICATION SUCCESSFUL
You can’t perform that action at this time.
0 commit comments