You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jules Villard
4fe1615434
give correct type to root exps of array dereferences
...
Summary:
This diff fixes two issues in the backend that were causing Bad_footprint
errors when abducing pointsto facts for expressions that start in an array
access and follow up with another structured access, eg `x[0].some_field`:
1. array accesses were assumed to come last in these expressions
2. the type of the root exp passed to the function that walks down the list of
offsets to apply to it was wrong in the case of arrays: it was always the
type of the whole expression instead of the root expr (eg the type of
`x[0].some_field` instead of the type of `x`).
Reviewed By: sblackshear, jeremydubreil
Differential Revision: D3800566
fbshipit-source-id: 0511604
9 years ago
..
AngelismTest.java
Refactoring of tests, separating the tests for linters
9 years ago
ArrayOfStructsAbductionTest.java
give correct type to root exps of array dereferences
9 years ago
ArrayOutOfBoundsTest.java
Refactoring of tests, separating the tests for linters
9 years ago
AsmAngelismTest.java
Refactoring of tests, separating the tests for linters
9 years ago
AssertKeepBranchTest.java
Refactoring of tests, separating the tests for linters
9 years ago
AssertTest.java
Refactoring of tests, separating the tests for linters
9 years ago
AssertionFailureTest.java
Refactoring of tests, separating the tests for linters
9 years ago
BUCK
Refactoring of tests, separating the tests for linters
9 years ago
CompoundLiteralExprTest.java
Refactoring of tests, separating the tests for linters
9 years ago
CustomErrorTest.java
Refactoring of tests, separating the tests for linters
9 years ago
DanglingDereferenceTest.java
Refactoring of tests, separating the tests for linters
9 years ago
DivideByZeroTest.java
Refactoring of tests, separating the tests for linters
9 years ago
EnumTest.java
Refactoring of tests, separating the tests for linters
9 years ago
InitListExprTest.java
Refactoring of tests, separating the tests for linters
9 years ago
ListsTest.java
making get_reachable_hpreds understand inductive predicates
9 years ago
LocalVarsTest.java
Refactoring of tests, separating the tests for linters
9 years ago
MemoryLeakTest.java
Refactoring of tests, separating the tests for linters
9 years ago
NullDereferenceShortCircuitTest.java
Refactoring of tests, separating the tests for linters
9 years ago
NullDereferenceTest.java
Implement containsOnlyLines matcher for tests
9 years ago
NullDereferenceTest2.java
Refactoring of tests, separating the tests for linters
9 years ago
NullDereferenceTest3.java
Refactoring of tests, separating the tests for linters
9 years ago
OffsetOfExprTest.java
Implement containsOnlyLines matcher for tests
9 years ago
ResourceLeakTest.java
Refactoring of tests, separating the tests for linters
9 years ago
SentinelTest.java
Refactoring of tests, separating the tests for linters
9 years ago
UnsafeMallocTest.java
Refactoring of tests, separating the tests for linters
9 years ago
UnsignedIsNonnegativeTest.java
detect unsigned values inside structured expressions
9 years ago
VAArgExprTest.java
Implement containsOnlyLines matcher for tests
9 years ago