pietrobraione / jbse

A symbolic Java virtual machine for program analysis, verification and test generation
http://pietrobraione.github.io/jbse/
GNU General Public License v3.0
101 stars 29 forks source link

Array with unknown length #64

Closed sjoon2455 closed 2 years ago

sjoon2455 commented 2 years ago

Hi, I have a program that receives an array with unknown length as input. The program looks like this: image

Part of output of running jbse setting RunParameters.StepShowMode.LEAVES, RunParameters.StateFormatMode.TEXT is as follows. 스크린샷 2021-12-24 오후 3 02 40 Here, on the top the returned value is {R1} which is Object[4458], and this is an object in heap on the bottom.

I am having difficulty understanding the Items. Could anyone help me out?

I would appreciate any help, such as the meaning of -> or [_ + 0], and (if any) how to read the information of array getting swapped under certain path conditions.