find function symbols from a corrupted stack
公司面试时,被问到gdb里bt显示全是?时怎么办? 这个情况遇到过就是栈写坏了,但我只能说我不知道。进公司后,私下跟面试我的同事请教到了,可以通过 x 命令从rsp寄存器的地址,向上打印,来找到更上层的调用函数,这样能帮助缩小定位范围。
公司面试时,被问到gdb里bt显示全是?时怎么办? 这个情况遇到过就是栈写坏了,但我只能说我不知道。进公司后,私下跟面试我的同事请教到了,可以通过 x 命令从rsp寄存器的地址,向上打印,来找到更上层的调用函数,这样能帮助缩小定位范围。
Recently, I discovered that my Lua script for Wireshark fails on PCAP files captured in unit tests—the RTP dissector stops without any error message. After spending considerable time debugging, I identified the issue: the RTP header version was incorrect.