Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
fe522c20516878927e4f90a2aeafeeba2ea31c71
/
test
/
Analysis
/
malloc.c
d56763f
If size was equal to 0, either NULL or a pointer suitable to be passed to
by Zhongxing Xu
· 14 years ago
033a07e
[analyzer] rename all experimental checker packages to have 'experimental' be the common root package.
by Ted Kremenek
· 14 years ago
4d8d803
More accurately model realloc() when the size argument is 0. realloc() with a size of 0 is equivalent to free(). The memory region should be marked as free and not used again.
by Lenny Maiorani
· 14 years ago
5188507
Rework checker "packages" and groups to be more hierarchical.
by Ted Kremenek
· 14 years ago
c4d2c90
[analyzer] Remove '-analyzer-check-objc-mem' flag, the nominee for best misnomer award.
by Argyrios Kyrtzidis
· 14 years ago
267aa5c
[analyzer] Migrate UndefinedAssignmentChecker to CheckerV2.
by Argyrios Kyrtzidis
· 14 years ago
6dd4dff
[analyzer] Remove '-analyzer-experimental-checks' flag.
by Argyrios Kyrtzidis
· 14 years ago
312dbec
[analyzer] Migrate MallocChecker to CheckerV2.
by Argyrios Kyrtzidis
· 14 years ago
65d3925
[analyzer] Remove '-analyzer-experimental-internal-checks' flag, it doesn't have any checkers associated with it anymore.
by Argyrios Kyrtzidis
· 14 years ago
0d6b0c0
[analyzer] Migrate CastSizeChecker to CheckerV2.
by Argyrios Kyrtzidis
· 14 years ago
a0decc9
[analyzer] Use the new registration mechanism on some of the experimental checks. These are:
by Argyrios Kyrtzidis
· 14 years ago
dd0e490
After a lengthy design discussion, add support for "ownership attributes" for malloc/free checking. Patch by Andrew McGregor!
by Ted Kremenek
· 15 years ago
c4b5bd8
Added an path-sensitive unreachable code checker to the experimental analyzer checks.
by Tom Care
· 15 years ago
c580f2e
Casting to void* or any other pointer-to-sizeless type (e.g. function pointers) causes a divide-by-zero error. Simple fix: check if the pointee type size is 0 and bail out early if it is.
by Jordy Rose
· 15 years ago
a5ce966
Add support for calloc() in MallocChecker. Patch by Jordy Rose, with my
by Zhongxing Xu
· 15 years ago
ab28099
CastSizeChecker checks when casting a malloc'ed symbolic region to type T,
by Zhongxing Xu
· 15 years ago
c802378
Add use-after-free check to MallocChecker.
by Zhongxing Xu
· 15 years ago
181cc3d
Fix pr6293. If ptr is NULL, no operation is preformed.
by Zhongxing Xu
· 15 years ago
565e465
Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'.
by Ted Kremenek
· 16 years ago
425c7ed
Add test case for pr6069.
by Zhongxing Xu
· 16 years ago
b94b81a
Let constraint manager inform checkers that some assumption logic has happend.
by Zhongxing Xu
· 16 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 16 years ago
ef74f4c
Replace clang-cc with clang -cc1.
by Zhongxing Xu
· 16 years ago
d9c84c8
Add initial support for realloc() in MallocChecker.
by Zhongxing Xu
· 16 years ago
4985e3e
Add PreVisitReturn to Malloc checker. Now we can recognize returned memory
by Zhongxing Xu
· 16 years ago
243fde9
Add EvalEndPath interface to Checker. Now we can check memory leaked at the
by Zhongxing Xu
· 16 years ago
2f00552
Fix a couple of tests.
by Eli Friedman
· 16 years ago
c360775
Remove test case's dependency on header file.
by Ted Kremenek
· 16 years ago
c764d4b
Add two new test cases for the Malloc/Free checker. Both have to do with
by Ted Kremenek
· 16 years ago
ba93087
Add test case that shows a leak we don't catch.
by Ted Kremenek
· 16 years ago
8382cf5
Add clang-cc option "--analyzer-experimental-internal-checks". This
by Ted Kremenek
· 16 years ago
fc7ac8f
Malloc checker basically works now.
by Zhongxing Xu
· 16 years ago