[gem5-users] Re: ARM model - load instruction reads non-zero data from an address which was not written out prior (as per traces)

2022-03-22 Thread tomjosekallooran--- via gem5-users
Hi , I have attached a shorter Exec trace to this message. If we look at lines: line 4: ldr x1, [sp]: MemRead : D=0x0001 A=0x7efe70 line 74 : ldr x1, [x0]: MemRead : D=0x0010 A=0x7efe90 line 88 : ldr x3, [x8, #384

[gem5-users] Re: ARM model - load instruction reads non-zero data from an address which was not written out prior (as per traces)

2022-03-23 Thread Gabe Black via gem5-users
Hi Tom. The data could have been written there as the result of a system call which would not have executed as instructions in gem5, or it could have been part of the initial binary. The address looks like a stack address, so there's a good chance it came from a system call. I'm just guessing, but

[gem5-users] Re: ARM model - load instruction reads non-zero data from an address which was not written out prior (as per traces)

2022-03-24 Thread tomjosekallooran--- via gem5-users
Hi Gabe, Thank you very much for the response. I greatly appreciate it. I was using just the -d flag for getting the objdump. Now i tried using additional flags and used a parser to get the addresses and data present within. I was able to get around 121 of the addresses which were having the corre