Commit Graph

1766 Commits

Author SHA1 Message Date
Ben Selfridge
050625300e feature/asl: passing test-just-exit-a32 2020-04-01 20:57:22 -07:00
Ben Selfridge
c8736a83a3 feature/asl: bump semmc 2020-04-01 20:56:14 -07:00
Ben Selfridge
7e78fbcf25 feature/asl: fixed syntax error and removed integers 2020-03-29 10:21:09 -07:00
Ben Selfridge
5f9267e97f feature/asl: added failing tests 2020-03-29 10:20:52 -07:00
Ben Selfridge
c5f41cab52 feature/asl: added all registers besides memory to register list 2020-03-29 10:19:41 -07:00
Ben Selfridge
1b7fb5be73 feature/asl: bump asl-translator 2020-03-29 10:19:09 -07:00
Ben Selfridge
9bceb3a06c feature/asl: updating to new semmc 2020-03-26 10:01:10 -07:00
Joe Hendrix
564a0a7b33
Merge pull request #120 from GaloisInc/jhx/function-arg-warnings
Remove spurious warnings from function args.

These were often incorrect.
2020-03-26 08:46:13 -07:00
Joe Hendrix
14da5837a6 Remove spurious warnings from function args. 2020-03-25 23:20:53 -07:00
Daniel Matichuk
1aa10fc35b bump submodules 2020-03-25 17:59:28 -07:00
Daniel Matichuk
40a553b10b update test script to use asl-lite 2020-03-25 15:40:42 -07:00
Ben Selfridge
e2de076b9c feature/asl: thumb semantics 2020-03-25 15:06:10 -07:00
Ben Selfridge
f80dde767d feature/asl: memory and register writes 2020-03-25 14:27:22 -07:00
Joe Hendrix
f2a9619122
Merge pull request #119 from GaloisInc/jhx/registeruse-fix
Fix register-use; add null terminated string reader to Memory.
2020-03-25 12:06:32 -07:00
Ben Selfridge
a478fd77b6 feature/asl: arm semantics compiling 2020-03-24 16:38:20 -07:00
Ben Selfridge
fd6343a254 submodule bump 2020-03-24 16:37:36 -07:00
Joe Hendrix
2f93b70946 Fix register-use; add null terminated string reader to Memory. 2020-03-20 18:22:48 -07:00
Ben Selfridge
99cb01bf0e feature/asl: translate gpr_get UF 2020-03-19 16:49:10 -07:00
Ben Selfridge
fde33aac81 feature/asl added support for undefined and init functions 2020-03-19 14:45:43 -07:00
Ben Selfridge
5d40475232 feature/asl: translateFunction allows functions to call other functions 2020-03-18 15:46:57 -07:00
Andrew Kent
3e5f52f11b bump semmc submodule, add what4-serialize dep 2020-03-18 12:01:17 -07:00
Daniel Wagner
97c9e20089 add memory model as type argument in a few places 2020-03-18 00:21:15 -04:00
Ben Selfridge
acc79e1e24 bump asl-translator 2020-03-17 09:28:39 -07:00
Ben Selfridge
eee580fce4 bump semmc 2020-03-17 09:28:08 -07:00
Ben Selfridge
20fe9e19f5 feature/asl: added fall-through case in armNonceAppEval 2020-03-17 09:26:40 -07:00
Tristan Ravitch
d468ef68e9
Merge pull request #116 from GaloisInc/tr/submodule-update
Submodule update
2020-03-13 15:01:06 -07:00
Tristan Ravitch
4e487d5a5a Submodule update
This fixes an error introduced in the ghc-8.8 updates.  The error caused
macaw-x86 to throw an uncaught error when decoding certain instructions, when it
should have instead caught the error and reported a decode failure as a block
terminator.
2020-03-13 10:53:24 -07:00
Tristan Ravitch
e024646860
macaw-refinement (#114)
This commit updates macaw-refinement to work with the latest macaw/crucible and makes a few improvements along the way.

The major changes involved in this are:
* Block labels were removed from macaw, so we had to come up with an alternative approach to making synthetic blocks to represent dispatch resolved by macaw-refinement that is not really a jump table. We considered adding a new terminator that encoded "computed IP-based dispatch", but there was concern about the impact on client code. Instead, we added a field to the `DiscoveryFunInfo` that records "external" resolutions to indirect control flow (e.g., as by an SMT solver in macaw-refinement). The hook by which we feed SMT-based resolutions back into macaw was modified accordingly (`addDiscoveredFunctionBlockTargets`).
* Solver invocation changed to allow solver selection and parallel solver application.
* Logging is now done via the `lumberjack` library.
* macaw-symbolic now uses the "external" resolutions in `DiscoveryFunInfo` while building crucible CFGs.
* The path creation code in macaw-refinement was simplified significantly and the approach to path creation has been documented.
* The run-refinement tool is now more featureful.
* The test suite is a bit more structured and no longer depends on the printed output of the discovery process.
2020-03-12 17:15:08 -07:00
Daniel Wagner
1daee7da6b write a bit about how CFG-edge-killing is implemented 2020-03-12 18:11:07 -04:00
Daniel Wagner
ef91508325 naming only: trace, not 2 2020-03-12 16:57:01 -04:00
Ben Selfridge
9a51fcb14b feature/asl: bump asl-translator 2020-03-11 12:28:49 -07:00
Ben Selfridge
947cbbed85 feature/asl: comment out semantics TH for now so the project builds 2020-03-11 11:27:04 -07:00
Ben Selfridge
c176c05f61 feature/asl: bump semmc 2020-03-11 11:26:30 -07:00
Ben Selfridge
c1b9e48e98 feature/asl: bug fix, had forgotten to add R0 to armRegs 2020-03-11 11:19:37 -07:00
Ben Selfridge
16c08f72f8 updated crucible/what4 2020-03-10 14:26:55 -07:00
Daniel Wagner
f4daaa7e81 start working on execMacawStmtExtension for new memory model 2020-03-09 23:46:58 -04:00
Ben Selfridge
deb6d2b161 feature/asl: lifted endianness out of macaw-semmc TH 2020-03-09 16:07:07 -07:00
Ben Selfridge
06482d29e9 feature/asl: Now compiles, no semantics yet 2020-03-09 15:26:28 -07:00
Ben Selfridge
14ee2a7f70 feature/asl: update parameterized-utils 2020-03-09 15:23:32 -07:00
Ben Selfridge
6cbf12623a feature/asl: Eval compiles, probably incomplete 2020-03-04 11:07:45 -08:00
Tristan Ravitch
c825332f39
Update/ghc 8.8 (#112)
Updates for GHC 8.8

The two main classes of update are related to MonadFail and type alias expansion.

The MonadFail updates introduce explicit MonadFail instances and backward-compatible `fail` implementations under `Monad` for older GHC versions.

The type alias expansion rules changed in GHC 8.8 in a way that breaks the `Simple Lens` idiom; instead, we have to use `Lens'`.  Lens started supporting this alias in version 3.8, which was released in 2013.

This change includes necessary submodule updates, as well as the update for the split of what4 into its own repository.
2020-03-03 13:28:26 -08:00
Ben Selfridge
77486004a3 feature/asl: Arch.hs compiles, but we probably need to add stuff to it 2020-02-28 12:17:43 -08:00
Ben Selfridge
c8c918128b feature/asl: finished locToRegTH in ARMReg 2020-02-28 12:17:22 -08:00
Ben Selfridge
4d4d067245 feature/asl: updated ARMReg to new ASL types. Still need to write
locToRegTH function.
2020-02-27 17:59:33 -08:00
Ben Selfridge
f883ebb583 feature/asl: renamed cabal file 2020-02-27 17:59:16 -08:00
Daniel Matichuk
8a4dc3f10a bump submodules 2020-02-27 13:34:27 -08:00
Daniel Matichuk
5970878919 add yices to travis dependency 2020-02-26 23:49:27 -08:00
Daniel Matichuk
80fb37c0fb submodules -> deps 2020-02-26 23:46:50 -08:00
Daniel Matichuk
4f97f5afad add testing script 2020-02-26 23:43:09 -08:00
Daniel Matichuk
cab27e1bd0 add simple travis build for macaw-asl 2020-02-26 23:22:54 -08:00