-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leakage traces #431
Open
OwenConoly
wants to merge
97
commits into
mit-plv:master
Choose a base branch
from
OwenConoly:leakage_traces
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Leakage traces #431
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
339340e
add LS.v
OwenConoly 3a533e6
modify LS.v
OwenConoly dc9a34e
prettify MetricSemantics eval_expr
OwenConoly 4dd8ea4
add MetricLeakageSemantics
OwenConoly 8befdf5
organize semantics-relation lemmas in MetricLeakageSemantics
OwenConoly cd93eec
remove unneeded direction of eval_expr equivalence
OwenConoly adbf224
all the desired relations between semantics
OwenConoly 7f405f4
make build less noisy
OwenConoly e888a14
create LWP
OwenConoly 3cb00f8
modify LeakageWeakestPrecondition.v
OwenConoly dab765a
add LWPP
OwenConoly 4275fbb
modify LWPP.v
OwenConoly 371d3d4
add LL.v
OwenConoly 75ee742
edit LL.v
OwenConoly efacffd
add LPL
OwenConoly e7041cc
first pass on editing LPL
OwenConoly bfd3805
add kyber file. doesn't work, since straightline needs fixes
OwenConoly 990cae9
make kyberslash work
OwenConoly 142f538
remove garbage (Search commands, etc) from kyberslash proof
OwenConoly ebde2c7
update FlatImp to use MetricLeakageSemantics
OwenConoly 897e4e7
add 'custom fixpoint' stuff. add comparison of Fix_eq and Fix_eq'.
OwenConoly 5140237
add leakage function to DCEDef
OwenConoly a27dae1
switch to using Fix instead of my_Fix.
OwenConoly 5b8edc8
switch to using Fix_eq' and get unstuck
OwenConoly 9f5f927
start on DCE proof
OwenConoly 7aa6ee9
progress on DCE phase
OwenConoly 9bac048
add pick_sp stuff to DCE trace transformation function
OwenConoly 577d5d5
finish updating DCE function
OwenConoly 3729b9c
had an idea about how to simplify function
OwenConoly b51a8de
DCE progress
OwenConoly 5b82fd2
up to loop case
OwenConoly aaf754f
get stuck in sequence (and while) case. IH is no good!
OwenConoly b024527
rewrite DCE function in CPS. need to decide how to prove fixpoint eq…
OwenConoly 16a43d3
new version of Fix with dependent types as well as arbitrary equivale…
OwenConoly 68b8b54
all the variants of Fix_eq i could imagine wanting
OwenConoly 04256d8
prove DCE leakage fixpoint equation
OwenConoly 08f64db
write DCE proof with leakage (it works now, since leakage function is…
OwenConoly 37cc6df
start adapting spilling phase to leakage
OwenConoly d4034b0
fix align_trace tactic and move it to LeakageSemantics
OwenConoly f630db2
finish adapting spilling proof to leakage traces
OwenConoly 0e371a9
switch from mit-plv riscv-coq to my fork, and then to the leakage tra…
OwenConoly 93680e0
adapt FlattenExpr to leakage traces
OwenConoly 477301b
add leakage traces to GoFlatToRiscv
OwenConoly 44448b0
add leakage traces to ForeverSafe, RunInstruction
OwenConoly 99133e2
add leakage to RiscvEventLoop
OwenConoly 3d44761
start on FlatToRiscvCommon
OwenConoly 9ff2e39
add leakage transformation function for FlatToRiscv.
OwenConoly ed564c6
rewrite leakage functions in FlatToRiscvDef to return list LeakageEvent
OwenConoly 9fe5eff
add leakage traces to FlatToRiscvCommon
OwenConoly 9eccddb
add leakage to FlatToRiscvLiterals
OwenConoly d26160c
add leakage to load_save_regs_correct
OwenConoly 289394d
add leakage traces to FlatToRiscvFunctions
OwenConoly e18a7f2
leakage in UseImmediate
OwenConoly 350dff3
leakage in regalloc
OwenConoly a5c185d
add leakage to lower pipeline
OwenConoly e119bf4
some pipeline
OwenConoly e4eb150
get to dce_correct in pipeline...
OwenConoly 2bc2b13
composed_compiler_correct
OwenConoly ad0d845
compiler_correct
OwenConoly d0104d2
memequal source level leakage prooof
OwenConoly 91b24cd
hacky compiler_correct_wp
OwenConoly f942a84
MMIO compiler stuff
OwenConoly d08e20b
add memequal compiler example
OwenConoly 9f08fd8
add ct.v
OwenConoly c46659d
clean up most of pipeline.v
OwenConoly 3a95c81
get rid of WeakenCall in Pipeline; use func/prop ext instead
OwenConoly 26b2c41
more cleaning up pipeline. up to spilling_correct
OwenConoly 8bd27c3
trying riscv_phase_correct
OwenConoly 10d67f7
hooray Pipeline compiles now
OwenConoly 3f3db1c
remove test_itauto (sam says it is not needed anymore)
OwenConoly b3fc55c
get rid of option_map lemmas
OwenConoly 44265eb
FE310 leakage comment
OwenConoly bb9ab6c
make some fixpoints local
OwenConoly 9de1beb
make ct.v use FE310CSemantics instead of BasicC32Semantics
OwenConoly 5cb3ee0
revert BasicC32Semantics to have no leakage traces
OwenConoly 0f3c7b7
make leakage straightline work way better
OwenConoly b266837
fix straightline in a different way (still using letexists instead of…
OwenConoly 073d181
improve leakage straightline.
OwenConoly 8f74745
fnspec notations
OwenConoly dc7a6be
add fnspec_ex! notations for specifying constant-time
OwenConoly 9b5bab5
work on bedrock2Examples involving leakage (including using the
OwenConoly 2dc013b
make fnspec! exists notation more intuitive
OwenConoly bbfe067
fix kyberslash proof
OwenConoly f6526fe
work on swap and stackalloc
OwenConoly 4e9c3a9
trying to fix function calls and things... swap_swap proof mysterious…
OwenConoly 5a8a974
fix mysterious problem with swap_swap---special_intro was unfolding t…
OwenConoly 2d249fb
change proofs to deal with "enter" in straightline working properly
OwenConoly fac42da
fix enter better this time
OwenConoly 9bb6d06
work on top level loop
OwenConoly 34373d4
fix event loop
OwenConoly 463eef2
add leakage stuff to memory_mapped_ext_calls_compiler.v
OwenConoly d4fca34
make "make" work in compiler subdirectory
OwenConoly 5f974ea
fix KamiRiscvStep (it broke because leakage stuff was added to run1)
OwenConoly 46f2f3b
make end2endpipeline go through... can't get end2endlightbulb to work,
OwenConoly bbac468
add non-leakage ext_specs to FE310CSemantics and memory_mapped_ext_spec
OwenConoly 7d40f6c
make end2end compile
OwenConoly 8f1f5ee
various cleanup: typos, whitespace, comments, etc
OwenConoly File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This git-config change should not be merged, instead the relevant riscv-coq changes should be merged to its upstream.