Home | History | Annotate | Download | only in Checkers

Lines Matching refs:Allocated

38 //       allocation function in MallocChecker, such as malloc() allocated
87 // dynamically allocated object is deallocated with the correct function, like
128 // Reference to allocated memory.
129 Allocated,
130 // Reference to zero-allocated memory.
154 bool isAllocated() const { return K == Allocated; }
167 return RefState(Allocated, s, family);
192 CASE(Allocated)
211 /// The optional \p RetVal parameter specifies the newly allocated pointer
236 // 'fromPtr' was allocated:
451 /// of the memory that needs to be allocated. E.g. for malloc, this would be
453 /// \param [in] RetVal Specifies the newly allocated pointer value;
464 /// annotates that the function returns with an object that was allocated on
471 /// - (OPTIONAL) second: size of the allocated region
485 /// \param [in] SizeEx Size of the memory that needs to be allocated.
486 /// \param [in] Init The value the allocated memory needs to be initialized.
487 /// with. For example, \c calloc initializes the allocated memory to 0,
500 /// \param [in] Size Size of the memory that needs to be allocated.
501 /// \param [in] Init The value the allocated memory needs to be initialized.
502 /// with. For example, \c calloc initializes the allocated memory to 0,
550 /// to have been allocated, or in other words, the symbol to be freed was
551 /// registered as allocated by this checker. In the following case, \c ptr
552 /// isn't known to be allocated.
576 /// to have been allocated, or in other words, the symbol to be freed was
577 /// registered as allocated by this checker. In the following case, \c ptr
578 /// isn't known to be allocated.
612 /// Evaluates the buffer size that needs to be allocated.
614 /// \param [in] Blocks The amount of blocks that needs to be allocated.
638 /// If in \p S \p Sym is used, check whether \p Sym was allocated as a zero
737 // The allocated region symbol tracked by the main analysis.
767 /// Did not track -> allocated. Other state (released) -> allocated.
777 /// Did not track -> released. Other state (allocated) -> released.
789 /// Did not track -> relinquished. Other state (allocated) -> relinquished.
800 /// released -> allocated, it must be the realloc return value
1351 // to zero-allocated memory.
1567 // Set the symbol's state to Allocated.
1761 // Of course, free() can work on memory allocated outside the current
1802 // If the pointer is allocated or escaped, but we are now trying to free it,
1816 // allocated, or an offset.
2032 os << ", which is not memory allocated by ";
2034 os << "not memory allocated by ";
2067 "Memory allocated by alloca() should not be deallocated", N);
2109 os << " allocated by " << AllocOs.str();
2113 os << " allocated by " << AllocOs.str();
2178 os << "memory allocated by " << AllocNameOs.str();
2180 os << "allocated memory";
2302 new BugType(CheckNames[*CheckKind], "Use of zero allocated",
2306 *BT_UseZerroAllocated[*CheckKind], "Use of zero-allocated memory", N);
2556 // allocated, and only report a single path.
2732 // If we are returning a field of the allocated struct or an array element,
3206 Msg = "Memory is allocated";
3208 Sym, "Returned allocated memory");