I have created a very basic golang program which display a message with fmt.Println().
Here is what is see in radare2:
lea rcx, obj.main.statictmp_0 ; 0x4c84b0 ; "y[K"
mov qword [local_48h], rcx
lea rcx, [local_40h] ; 0x40 ; '@' ; 64
mov qword [rsp], rcx
mov qword [local_8h], 1
mov qword [local_10h], 1
call sym.fmt.Println
I suppose obj.main.statictmp_0 contains my string message.
I have tried:
ps @obj.main.statictmp_0
but it does not display my message. Any idea ?
Thanks