Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
; This generates a class file that attempts to access local variables indexed
; at 255, 256 and 65534
; The class file is generated from this file using the following command:
; java -jar jasmin.jar ManyLocalVariables.j
; The jasmin jar file can be obtained from: http://jasmin.sourceforge.net/

.class public ManyLocalVariables
.super java/lang/Object

.method public static test()I
.limit stack 10
.limit locals 65535
.line 1
iconst_1
istore 1

iconst_1
istore 255

iconst_1
istore_w 256

iconst_1
istore_w 65534

iload 1
iload 255
iload_w 256
iload_w 65534

iadd
iadd
iadd

ireturn
.end method
4 changes: 4 additions & 0 deletions regression/cbmc-java/lots_local_variables_manual/test.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CORE
ManyLocalVariables.class
--function ManyLocalVariables.test
VERIFICATION SUCCESSFUL
Binary file not shown.
Loading