Commit Graph

3067 Commits

Author SHA1 Message Date
Joel Beeren abda36a8f7 x64: crefine: added Recycle_C 2018-07-05 16:23:14 +10:00
Joel Beeren d27f7c9f60 x64: crefine: added Retype_C 2018-07-05 16:23:14 +10:00
Joel Beeren ff95aec20f x64: crefine: added Interrupt_C 2018-07-05 16:23:14 +10:00
Joel Beeren 1fc3536aff x64: crefine: added Schedule_C 2018-07-05 16:23:14 +10:00
Joel Beeren 5ccbe6061d x64: crefine: added Tcb_C 2018-07-05 16:23:14 +10:00
Joel Beeren 1079673d34 x64: crefine: adjust value_abbreviation in Delete_C 2018-07-05 16:23:14 +10:00
Joel Beeren fa38926ac3 x64: crefine: update for isabelle-2017 2018-07-05 16:23:14 +10:00
Joel Beeren c9633be900 x64: crefine: added Delete_C 2018-07-05 16:23:14 +10:00
Joel Beeren 05ace54dd4 x64: crefine: update sorries for C changes
changes include:
    * zombie bit numbers changing
    * object sizes abstracted
2018-07-05 16:23:14 +10:00
Joel Beeren b5d5b973f6 x64: crefine: added Ipc_C 2018-07-05 16:23:14 +10:00
Joel Beeren 24bc43a65a x64: crefine: added IsolatedThreadAction.thy 2018-07-05 16:23:14 +10:00
Joel Beeren f4e33ad6c6 x64: crefine: minor tweaks in VSpace_C 2018-07-05 16:23:14 +10:00
Joel Beeren 4668abb6b7 x64: crefine: added Finalise_C 2018-07-05 16:23:14 +10:00
Joel Beeren bb4cdf564b x64: crefine: added Detype_C 2018-07-05 16:23:14 +10:00
Joel Beeren 0bad4a3918 x64: crefine: add CSpace_All.thy 2018-07-05 16:23:14 +10:00
Joel Beeren 767b2612be x64: crefine: added IpcCancel_C 2018-07-05 16:23:14 +10:00
Joel Beeren a07380a7fc x64: crefine: added SyscallArgs_C 2018-07-05 16:23:14 +10:00
Joel Beeren 3a9818b070 x64: crefine: added CSpace_RAB_C.thy 2018-07-05 16:23:14 +10:00
Joel Beeren 3c3ce87df0 x64: crefine: added DetWP.thy 2018-07-05 16:23:14 +10:00
Joel Beeren 5982952444 x64: crefine: added StoreWord_C 2018-07-05 16:23:14 +10:00
Joel Beeren c69b10e2d4 x64: crefine: VSpace_C sorried
There are probably lots of lemmas missing but this will allow people to
move forward beyond VSpace_C to other files.

Many sorries are dependent on C changes still in the pipeline
2018-07-05 16:23:14 +10:00
Joel Beeren 3fb61f92a6 x64: crefine: interim commit of VSpace_C 2018-07-05 16:23:14 +10:00
Joel Beeren 55b5f165b7 x64: crefine: added getFaultAddr_ccorres to machine assumptions 2018-07-05 16:23:14 +10:00
Joel Beeren 72b1edaf96 x64: crefine: add CSpace_C to Refine_C for regression testing 2018-07-05 16:23:14 +10:00
Joel Beeren bf25de6b5b x64: crefine: added CSpace_C with sorries 2018-07-05 16:23:14 +10:00
Joel Beeren 5909835331 x64: crefine: adjust cl_valid_cap for irq_handler caps 2018-07-05 16:23:14 +10:00
Joel Beeren 0326c2a956 x64: crefine: add frame_cap condition to cl_valid_cap
On x64, there are only 3 possible page sizes, so it is no longer
possible to deduce that a page size is well-formed from just the
bitfield struct (previously there were 4 page sizes for a 2-bit field).
2018-07-05 16:23:14 +10:00
Joel Beeren 1069cb70f2 x64: crefine: fix default case in vmrights_to_H 2018-07-05 16:23:14 +10:00
Joel Beeren f24785cb8b x64: crefine: add neglected IOPortCap case to a few lemmas 2018-07-05 16:23:14 +10:00
Joel Beeren e8c14602c5 lib: change Corres_C to use machine_word rather than word32 for the error case 2018-07-05 16:23:14 +10:00
Joel Beeren c80d51bf2a x64: crefine: added Machine_C 2018-07-05 16:23:14 +10:00
Joel Beeren a5aae07229 x64 crefine: added CSpaceAcc_C 2018-07-05 16:23:14 +10:00
Japheth Lim 46ccc2ba60 lib: change where temp file for AutoLevity tracing is created
We need to create the temp file on the same file system as the output
file in order for atomic renaming to work properly.
2018-07-04 19:24:36 +10:00
Japheth Lim a4b0287e9a lib: log exceptions from AutoLevity trace writer 2018-07-04 19:24:36 +10:00
Japheth Lim da86625580 lib: fail gracefully if AutoLevity can't install hooks in unpatched Isabelle 2018-07-04 19:24:36 +10:00
Japheth Lim 791f6ea3c6 lib: write autolevity traces on session shutdown
This commit depends on patching Isabelle to add a session shutdown hook.
2018-07-04 19:24:36 +10:00
Japheth Lim 00cab83c23 lib: fix AutoLevity JSON string encoding 2018-07-04 19:24:36 +10:00
Japheth Lim 301db83d2c lib: write one combined output file from AutoLevity_Run
The output file is still placed in Lib for now. Needs further adjustment.
2018-07-04 19:24:36 +10:00
Rafal Kolanski 769a9d1166 riscv haskell: use TP register for TLS_BASE
Recent TLS_BASE was missing a RISCV64 definition.
2018-07-04 17:45:36 +10:00
Corey Lewis c71fa27e14 Whitespace and typos 2018-07-03 13:42:23 +10:00
Corey Lewis 571ef6d0ca crefine+drefine+access+infoflow: update proofs for SetTLSBase (VER-807) 2018-07-03 13:42:22 +10:00
Maksym Bortin 9d315cda20 ainvs+refine: update proofs for SetTLSBase (VER-807) 2018-07-03 13:42:19 +10:00
Corey Lewis 2b8a2ebfbe spec: add SetTLSBase invocation and update the registers (VER-807) 2018-07-03 13:42:17 +10:00
Gerwin Klein 05281b90fe c-parser: consolidate IsaMakefile into Makefile
resolves remaining part of github issue #22
2018-07-02 08:52:01 +02:00
Gerwin Klein 7741eaccab riscv c-parser: ignore generated standalone parser files 2018-07-02 08:52:01 +02:00
Gerwin Klein 47a7511941 c-parser: tweaks for mlton 20180207 in standalone C parser 2018-07-02 08:51:40 +02:00
Rafal Kolanski edd02390e1 c-parser: reinstate X64 target accidentally clobbered by RISCV64 2018-06-28 18:42:43 +10:00
Gerwin Klein 66831aac87 haskell: pin cabal version
Breaks with newer cabals such as 1.22, and it should be using the
stack default anyway.
2018-06-28 16:38:35 +10:00
Gerwin Klein 3a88648ec4 riscv haskell: unmapPage updated to check mapping ptr in C
removed FIXME
2018-06-27 10:06:49 +02:00
Gerwin Klein 23a1bae103 riscv c-parser: RISCV64 test setup 2018-06-27 10:06:49 +02:00