Re: [lldb-dev] How to tell if an address belongs to the heap?

2020-02-07 Thread Vangelis Tsiatsianas via lldb-dev
Thank you for your thorough and timely response, Pavel! 🙂 Your suggestions might actually cover completely what I am attempting to achieve. Unfortunately, I am not able to disclose the exact reason I need it, but I want to track all heap writes, in order to detect modifications in the heap and

Re: [lldb-dev] How to tell if an address belongs to the heap?

2020-02-07 Thread Pavel Labath via lldb-dev
Thanks for the explanation, Vangelis. It sounds like binary instrumentation would be the best approach for this, as this is pretty much exactly what msan does. If recompilation is not an option, then you might be able to get something to work via lldb, but I expect this to be _incredibly_ slow (li