Lines Matching refs:addr

21 /// Marks a memory region (<c>[addr, addr+size)</c>) as unaddressable.
26 /// it could poison only a subregion of <c>[addr, addr+size)</c> due to ASan
32 /// \param addr Start of memory region.
34 void __asan_poison_memory_region(void const volatile *addr, size_t size);
36 /// Marks a memory region (<c>[addr, addr+size)</c>) as addressable.
40 /// This function could unpoison a super-region of <c>[addr, addr+size)</c> due
46 /// \param addr Start of memory region.
48 void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
57 /// \param addr Start of memory region.
59 #define ASAN_POISON_MEMORY_REGION(addr, size) \
60 __asan_poison_memory_region((addr), (size))
67 /// \param addr Start of memory region.
69 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \
70 __asan_unpoison_memory_region((addr), (size))
72 #define ASAN_POISON_MEMORY_REGION(addr, size) \
73 ((void)(addr), (void)(size))
74 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \
75 ((void)(addr), (void)(size))
80 /// Returns 1 if <c><i>addr</i></c> is poisoned (that is, 1-byte read/write
84 /// \param addr Address to check.
88 int __asan_address_is_poisoned(void const volatile *addr);
102 /// Prints the description of <c><i>addr</i></c>.
104 /// \param addr Address to describe.
105 void __asan_describe_address(void *addr);
188 /// \param addr Address to locate.
195 const char *__asan_locate_address(void *addr, char *name, size_t name_size,
204 /// \param addr A heap address.
210 size_t __asan_get_alloc_stack(void *addr, void **trace, size_t size,
219 /// \param addr A heap address.
225 size_t __asan_get_free_stack(void *addr, void **trace, size_t size,
242 /// \param addr Address of the ASan error.
246 void *addr, int is_write, size_t access_size);
292 /// If <c><i>fake_stack</i></c> is non-NULL and <c><i>addr</i></c> belongs to a
304 /// \param addr Address to test.
308 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,
320 int __asan_update_allocation_context(void* addr);