Commit Graph

689 Commits

Author SHA1 Message Date
Matthew Liu
b9bd9cc0fe fixed some fhe program tests based on changes to compilationresult data structure 2023-07-12 15:06:21 -07:00
Matthew Liu
e4d22361a4 doc fixes 2023-07-12 14:19:23 -07:00
Matthew Liu
5b16f91057 clippy and format fixes 2023-07-12 14:15:15 -07:00
Matthew Liu
cc0e11a1ba updated measuredmodel call to run_program_unchecked with a secret key 2023-07-12 14:11:20 -07:00
Matthew Liu
0f3c55fc93 fixed compilation errors for tests in run file, now does tests with secret key 2023-07-12 14:04:41 -07:00
Matthew Liu
22c163afef added run_impl and debug_fhe_program, also added debuginfo struct and added parameter for secret key in run unchecked 2023-07-12 13:57:05 -07:00
Matthew Liu
7a6a774582 displays serialized graph strings 2023-07-12 12:33:15 -07:00
Matthew Liu
722bfbddce can display graph for given rational operations 2023-07-11 14:16:01 -07:00
Matthew Liu
059e4d93aa remains to figure out how to display graphs with rationals 2023-07-10 17:51:47 -07:00
Matthew Liu
83d6156621 format fixes 2023-07-10 17:35:02 -07:00
Matthew Liu
78f84fa1cf fixed dependency issues and can now return graph information of basic fhe program 2023-07-10 17:26:01 -07:00
Matthew Liu
e4c5921b48 fixed context compilation errors 2023-07-10 14:09:43 -07:00
Matthew Liu
8f6a1d7b98 cleaned up some conditional compilation logic in context, also formatting fixes 2023-07-10 11:28:56 -07:00
Matthew Liu
243d748cdf fixed references of .0 into .graph and enabled conditional compilation of debugging structs, but this broke fhe_program proc macro 2023-07-10 11:03:09 -07:00
Matthew Liu
40adf1d93f infrastructure for groups 2023-07-09 21:32:32 -07:00
Matthew Liu
ee1ff44646 added a get for stackframelookup, added clone to programgroup 2023-07-09 20:05:58 -07:00
Matthew Liu
8d5e488e9c more programgroup 2023-07-06 00:47:02 -07:00
Matthew Liu
b8c6c77a08 programcontext/programgroup structs defined 2023-07-05 22:21:15 -07:00
Matthew Liu
fd9458a84b some more tests 2023-07-05 12:05:47 -07:00
Matthew Liu
71823d02a7 fixed minor loggic error in test single backtrace insert 2023-07-03 15:53:27 -07:00
Matthew Liu
c9c1fa7286 single backtrace insert 2023-07-03 15:45:47 -07:00
Matthew Liu
7e2deee16e single backtrace insert 2023-07-03 15:45:25 -07:00
Matthew Liu
6dca7314d3 single frame insert test 2023-07-03 14:48:27 -07:00
Matthew Liu
3f5dcc3e7e started some work with fheprograms 2023-06-30 15:47:43 -07:00
Matthew Liu
676d82a714 format and clippy fixes 2023-06-30 15:19:22 -07:00
Matthew Liu
c051478d35 changed it so trie stores stackframeinfo instead of backtraces 2023-06-30 15:15:02 -07:00
Matthew Liu
c216bdc959 updated stackframeinfo constructor to not panic with no values 2023-06-30 13:27:04 -07:00
Matthew Liu
4072877cbe formatting and documentation 2023-06-30 12:11:26 -07:00
Matthew Liu
f07b1d1e51 insertion and getting work 2023-06-30 12:06:52 -07:00
Matthew Liu
a1d6681ac3 implementation for stackframelookup 2023-06-29 16:40:28 -07:00
Matthew Liu
ba1275ff46 clippy fixes 2023-06-29 16:31:52 -07:00
Matthew Liu
61d8d274e8 created stackframeinfo struct, added get_stack_trace which has lifetime issues 2023-06-29 16:31:34 -07:00
Matthew Liu
4d139ed219 clippy fixes 2023-06-29 15:10:35 -07:00
Matthew Liu
4f17ea1678 clippy fixes 2023-06-29 15:08:39 -07:00
Matthew Liu
a64ff7efcb support to add stack traces and updated dependencies 2023-06-29 15:04:55 -07:00
Matthew Liu
a856349385 added structure for StackFrameLookup and stackframes trait 2023-06-28 16:16:31 -07:00
Matthew Liu
ca85e2fc9d pulling updated rust.yml
Merge branch 'mliu-backend' of https://github.com/Sunscreen-tech/Sunscreen into mliu-backend
2023-06-28 15:32:08 -07:00
Matthew Liu
3ced1130d7 style fixes 2023-06-28 15:31:38 -07:00
mliu24
bb5594afb0 Update rust.yml 2023-06-28 15:24:30 -07:00
Matthew Liu
d0b4a1595e added a function to add a stack trace. need to figure outhow to get group id's into the stacktrie 2023-06-28 14:22:47 -07:00
Matthew Liu
23abae90f9 added a stacktrie struct 2023-06-28 13:17:17 -07:00
mliu24
8973b78fc4 Merge branch 'debugger' into mliu-backend 2023-06-27 17:45:10 -07:00
Matthew Liu
a2fb82feac fixed clippy issues 2023-06-27 17:30:58 -07:00
mliu24
ad64e0f070 Mliu backend (#267)
* commented out some code from main, bulid in debugger file to fix compile errors. also added optional field group_id for context

* added support for unique group ids

* added debug flag to sunscreen_fhe_program, need to check every instance of Context

* updated features and renamed feature to debugger

* removed atomic from context, renamed group_id to group_counter

* changed node id's to u64s instead of hashes

* modified expressiontreenode to be fheexpressiontreenode. will implement zkpexpressiontreenode later

* added support for group id's in nodeinfo struct and modified new/add_node methods

* addedd support for group counter to fheprograms

* added support for group ids for zkp backend

* aded support for group id's in fhe and zkp programs

* finished support for group id in zkp programs

* added new function signature for creating new nodeinfo with debugger featuer on

* updated zkp jit compilation to support constructing nodes with group id

* added support for node group ids in fhe compiler

* format changes
2023-06-27 17:15:59 -07:00
Matthew Liu
479a3319d9 format changes 2023-06-27 17:10:52 -07:00
Matthew Liu
02baf6d961 added support for node group ids in fhe compiler 2023-06-27 17:10:42 -07:00
Matthew Liu
500a50d144 updated zkp jit compilation to support constructing nodes with group id 2023-06-27 16:59:22 -07:00
Matthew Liu
d2cef73643 Merge branch 'mliu-backend' of https://github.com/Sunscreen-tech/Sunscreen into debugger 2023-06-27 16:30:48 -07:00
Matthew Liu
2014dad974 added new function signature for creating new nodeinfo with debugger featuer on 2023-06-27 16:27:13 -07:00
Matthew Liu
9887131b06 Merge branch 'debugger' of https://github.com/Sunscreen-tech/Sunscreen into debugger 2023-06-27 15:20:22 -07:00