Commit Graph

1766 Commits

Author SHA1 Message Date
Tristan Ravitch
989cc65f7a Move active submodules from submodules to deps
This was an artifact of merging macaw-semmc into macaw.  This commit unifies the
two directories.  There are some remaining submodules in the old directory:
these are obsolete and will be removed in a separate commit.
2019-11-12 18:13:00 -08:00
Tristan Ravitch
4c7a69b11d Update macaw-ppc to account for recent changes in macaw-base
The main changes are:

- `postCallAbsState` was removed from the architecture info
- `mkInitialRegsForBlock` was renamed to `initialBlockRegs` and takes slightly
  different parameters
- There is a new type family and some new functions in the architecture info
  relating to post-block/terminator abstract state construction

PowerPC doesn't need any extra information to compute post-block abstract
states, so we use () as the ArchBlockPrecond type.
2019-11-12 17:27:14 -08:00
Tristan Ravitch
1c5abc6728 Documentation updates in macaw-base 2019-11-12 17:27:14 -08:00
Andrew Kent
587aa7ea6b
Update crux/crucible code to use float mode reprs; bump submodules 2019-11-05 15:23:51 -08:00
Daniel Wagner
8d275627ba export a few handy internals 2019-10-30 16:07:21 -04:00
Joe Hendrix
5bf14c21b0
Merge pull request #80 from GaloisInc/jhx/bounds-fix
Jhx/bounds fix
2019-10-28 15:41:31 -07:00
Joe Hendrix
1cc36b4d0c
Propagate correct stack value after call. 2019-10-28 13:49:00 -07:00
Joe Hendrix
cf8c33398e
Additional exports; bounds pretty printing. 2019-10-28 13:47:59 -07:00
Joe Hendrix
bca1b3c711
Merge pull request #79 from GaloisInc/jhx/div
Division changes
2019-10-22 16:32:52 -07:00
Joe Hendrix
4369c712ba
Fix macaw-x86-symbolic errors. 2019-10-22 08:28:16 -07:00
Joe Hendrix
7d7ec5ff01
Fix style; add comments 2019-10-22 08:07:50 -07:00
Joe Hendrix
1be68af2a0
Fix warnings. 2019-10-21 21:18:54 -07:00
Joe Hendrix
1596e9ca19
Update macaw-x86-symbolic for divmod changes. 2019-10-21 20:24:35 -07:00
Joe Hendrix
81d0469fbe
Group mod/div x86 functions. 2019-10-21 14:59:43 -07:00
Joe Hendrix
900488aa85
Merge pull request #78 from GaloisInc/jhx/register-use
Generalizations to support reopt.
2019-10-21 14:17:57 -07:00
Joe Hendrix
d5a51ff9c3
Cleanups to jump bounds. 2019-10-17 23:33:57 -07:00
Daniel Wagner
10a1fbc24a misc. build fixes 2019-10-17 16:38:16 -04:00
Joe Hendrix
26f29f3005
Generalizations to support reopt. 2019-10-16 13:57:19 -07:00
Joe Hendrix
9a112fcf0e
Merge pull request #76 from GaloisInc/jhx/absdomain-fix
Remove spurius calls to error in AbsState bvsbb.
2019-10-03 14:20:57 -07:00
Joe Hendrix
d16f2b2ea0
Remove spurius calls to error in AbsState bvsbb. 2019-10-02 12:32:42 -07:00
Kevin Quick
74faea610a
Merge pull request #75 from GaloisInc/haddock_fix2
[base] Fix GHC 8.4.4 haddock
2019-10-01 21:56:32 -07:00
Kevin Quick
4536e9d33e
[base] Fix GHC 8.4.4 haddock 2019-10-01 14:09:18 -07:00
Daniel Wagner
5f15b14136 Merge branch 'master' into wip/equiv 2019-10-01 14:40:52 -04:00
Joe Hendrix
8bc16d198a
Merge pull request #74 from GaloisInc/jhx/x86-deadcode
AbsVal/x86 cleanups
2019-09-23 16:24:44 -07:00
Joe Hendrix
744424d28b
Remove unused X86PrimLoc. 2019-09-20 15:19:37 -07:00
Joe Hendrix
8a0510572c
Add GetSegmentSelector placeholder for macaw-x86-symbolic 2019-09-20 14:43:57 -07:00
Joe Hendrix
5e834122d1
Segment register updates; stack offset calculation. 2019-09-20 13:58:05 -07:00
Joe Hendrix
7aee0cd803
Remove unused debug reg code. 2019-09-09 00:55:28 -07:00
Joe Hendrix
3dc9463b8d
Remove unused control register code. 2019-09-09 00:50:07 -07:00
Joe Hendrix
42a2f008d9
Merge pull request #72 from GaloisInc/jhx/precond
Block preconditions.
2019-09-05 00:25:27 -07:00
Joe Hendrix
94549ef6cb
Update minor version for precondition addition. 2019-09-04 23:29:14 -07:00
Joe Hendrix
df95e65987
Various changes to support VCG.
The changes include:

  Clean up elf loading to fix a bug in rel addend parsing.

  Introduce block preconditions for populating reopt-vcg fields.

  Change load options to match reopt's interface.
2019-09-04 23:21:23 -07:00
Joe Hendrix
eb202accef
Merge pull request #71 from GaloisInc/jhx/foldcleanup
Make fold use CValue
2019-08-30 09:28:43 -07:00
Joe Hendrix
28e3624ca6
Bump parameterized-utils version 2019-08-30 00:02:23 -07:00
Joe Hendrix
5a8d7d5f07
Update cached fold to use CValue constructor. 2019-08-29 23:50:25 -07:00
Joe Hendrix
0ad6ed8a85
Minor cleanup 2019-08-29 23:50:25 -07:00
Kevin Quick
466b5e1579
Merge pull request #70 from GaloisInc/haddock_fix1
Haddock fix1
2019-08-28 13:35:25 -07:00
Kevin Quick
a2af885b67
Cannot haddock tuple fields, so use pre-type haddock over entire tuple.
This is less satisfying because it separates the documentation from
the fields, but it seems to be necessary for haddock to work.
2019-08-28 10:07:13 -07:00
Kevin Quick
8f32297a35
Haddock works better with constructor pre-documentation.
I believe this is due to an ambiguity of whether the
post-documentation reference is to the previous constructor or just
the last argument of the previous constructor.  By moving the haddocks
to be a pre-doc this seems to work better.
2019-08-28 09:59:15 -07:00
Kevin Quick
bc9d5433ee
Haddock requires indentation to match the constructor argument. 2019-08-28 09:58:35 -07:00
Kevin Quick
f342c9d000
Haddock cannot document constructor fields with strictness annotations.
It also cannot handle the UNPACK pragma, which could probably be
removed since -funbox-small-strict-fields is on by default, but
haddock would still fail for the strictness annotation.

By moving the haddocks to the constructor instead of the individual
fields the strictness restriction can be avoided.
2019-08-28 09:56:01 -07:00
Joe Hendrix
7a6244f12c
Merge pull request #69 from GaloisInc/jhx/bounds
Jump table bounds check improvements.
2019-08-28 00:29:33 -07:00
Joe Hendrix
5c27c8d824
Bump flexdis 2019-08-27 18:38:05 -07:00
Joe Hendrix
fcec02bf31
Bump parameterized-utils 2019-08-27 17:22:33 -07:00
Joe Hendrix
9d399941bb
Update flexdis 2019-08-27 17:19:36 -07:00
Joe Hendrix
18f2f3b1fa
Bump dependencies. 2019-08-27 16:53:18 -07:00
Joe Hendrix
0767302c21
Add .gitignore for assembly files. 2019-08-27 16:42:08 -07:00
Joe Hendrix
433df7399e
Additional Hashable instances for Macaw/hashtable compatibility. 2019-08-27 16:40:16 -07:00
Joe Hendrix
821d434370
Add support for equalities in jump table bounds. 2019-08-27 16:39:41 -07:00
Joe Hendrix
8376ecbed6
Fix warnings. 2019-08-23 09:57:54 -07:00