peadar / pstack

Print stack traces from running processes, or core files. Supports aarch64, x86_64, and i386
BSD 2-Clause "Simplified" License
128 stars 30 forks source link

Incorrect parameter #20

Open findstr opened 10 months ago

findstr commented 10 months ago

I use pstack to dump lua5.4 callstack in script

while true do  
print ""
end

the pstack output as follow:

#8  0x000055e26798f041 in luaV_execute(L=1(0x1){r5}, ci=(null))+1584 in /home/zhoupy/silly/deps/lua/lua at lvm.c:1684                                                             

In fact, the L parameter is in rbx(r3).

The L parameter is incorrect, and the gdb can show the correct value.