-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
call the tracer after field writes (#430)
* first pass at including default constructors * adding a time string to the benchmarks file so it doesn't get overwritten * updating the test script to optionally save the optimized and pretty yul from running solc, for local debugging * generate constructor and arguments * changing the name of the test transaction to avoid #424 * adding a prefix to constructor argument names so that they are unique * whitespace, scala style * writing a helper for unified names of transactions * updating codegen to use the single helper, adding comments * convenience script for local debugging * updating translateTransaction to be able to use the unified helper for transaction names * fixing whitespace * changing the test script so that it calls transactions from main with the contract name prefix * removing inMain boolean argument, it was a symptom of nonuniform transaction names. this addresses #407 * removing some redunant code in translateProgram, pushing helpers into util file * fixing a silly error, changing how line comments get printed for readability * first pass at producing the sequence of assignments for the body of the default constructor * whitespace, scala style * some comments, changing the signature of the internal function so i can actually use fold * removing an accidental implementation of seq.reverse * updating helper script * update the field where it actually is in memory; adding a helper function because this code alsp appears in the assignment case * using the helper to declare vars not just assign them * adding a test specifically for default constructors * whitespace * another missing reverse here * adding comments * first cut at calling the constructor for main per #426 #427 * comment * adding memory allocation to the invoke block, calling default constructor and tracer there. first cut * moving the codecopy after the tracer def and call * adding a test case * scraps * first cut at tracing after pointer write * adding a couple new helper functions; changing the update field helper to add the storage offset, which I think breaks the SetGetDefaultChecks test. * using new helper functions. adding tracer call code in pointer writes * reversing a bad change, adding a comment about why so i dont feel tempted to do it again * after debugging, changing which identifier goes to the trace call * whitespace, comments * Removing trace this test case. see #434
- Loading branch information
Showing
3 changed files
with
57 additions
and
20 deletions.
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
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