前面的就不说了,很简单 151234567891011121314startbreak *main+653commands silent set $addr = $rbp-0x18break *main+738commands silent set $local_variable = *(unsigned long long*)$addr printf "Current value: %llx\n", $local_variable continueendcontinue 16勉强能用 123456789startcatch syscall readcommands silent set *(unsigned long long*)($rbp-0x10) = *(unsigned long long*)($rbp-0x18) end continueendcontinue