[cfe-dev] Differentiate .bss from heap accesses

Ahmad Nouralizadeh Khorrami via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 4 04:23:58 PST 2019


Hi, As I understand, the [heap] virtual memory area (VMA) in the process
address space in Linux, contains both the .bss data and the heap data (Link
<https://stackoverflow.com/questions/54060963/address-of-a-global-variable-in-the-heap-address-range>
).

I want to capture heap accesses in the [heap] VMA. Again as far as I know,
.bss mappings happen at compile time by the fronted (i.e., Clang). Where
should I change, in order to filter heap accesses?
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190204/ef82848e/attachment.html>


More information about the cfe-dev mailing list