Thursday, February 18, 2021

Answers to interview questions:

 1. how to find the right backtrace for the corrupted/ bogus backtrace(stacktrace) 

    Ans: https://stackoverflow.com/questions/9809810/gdb-corrupted-stack-frame-how-to-debug


2. how to identify there is a memory courruption by other person in the code?


3. how to identify the memory corruption using gdb?

Ans : watch point of memory address

https://stackoverflow.com/questions/58851/can-i-set-a-breakpoint-on-memory-access-in-gdb