-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
51,023 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
217 changes: 217 additions & 0 deletions
217
integration_tests/cairo_zero_hint_tests/alloc_compiled.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,217 @@ | ||
{ | ||
"attributes": [], | ||
"builtins": [], | ||
"compiler_version": "0.13.1", | ||
"data": [ | ||
"0x40780017fff7fff", | ||
"0x0", | ||
"0x1104800180018000", | ||
"0x7", | ||
"0x10780017fff7fff", | ||
"0x0", | ||
"0x40780017fff7fff", | ||
"0x1", | ||
"0x208b7fff7fff7ffe", | ||
"0x40780017fff7fff", | ||
"0x1", | ||
"0x1104800180018000", | ||
"0x800000000000010fffffffffffffffffffffffffffffffffffffffffffffffc", | ||
"0x40137fff7fff8000", | ||
"0x480680017fff8000", | ||
"0x36", | ||
"0x4002800080007fff", | ||
"0x480680017fff8000", | ||
"0x4d", | ||
"0x4002800180007fff", | ||
"0x208b7fff7fff7ffe" | ||
], | ||
"debug_info": null, | ||
"hints": { | ||
"6": [ | ||
{ | ||
"accessible_scopes": [ | ||
"starkware.cairo.common.alloc", | ||
"starkware.cairo.common.alloc.alloc" | ||
], | ||
"code": "memory[ap] = segments.add()", | ||
"flow_tracking_data": { | ||
"ap_tracking": { | ||
"group": 2, | ||
"offset": 0 | ||
}, | ||
"reference_ids": {} | ||
} | ||
} | ||
] | ||
}, | ||
"identifiers": { | ||
"__main__.Pair": { | ||
"full_name": "__main__.Pair", | ||
"members": { | ||
"a": { | ||
"cairo_type": "felt", | ||
"offset": 0 | ||
}, | ||
"b": { | ||
"cairo_type": "felt", | ||
"offset": 1 | ||
} | ||
}, | ||
"size": 2, | ||
"type": "struct" | ||
}, | ||
"__main__.__end__": { | ||
"pc": 4, | ||
"type": "label" | ||
}, | ||
"__main__.__start__": { | ||
"pc": 0, | ||
"type": "label" | ||
}, | ||
"__main__.alloc": { | ||
"destination": "starkware.cairo.common.alloc.alloc", | ||
"type": "alias" | ||
}, | ||
"__main__.main": { | ||
"decorators": [], | ||
"pc": 9, | ||
"type": "function" | ||
}, | ||
"__main__.main.Args": { | ||
"full_name": "__main__.main.Args", | ||
"members": {}, | ||
"size": 0, | ||
"type": "struct" | ||
}, | ||
"__main__.main.ImplicitArgs": { | ||
"full_name": "__main__.main.ImplicitArgs", | ||
"members": {}, | ||
"size": 0, | ||
"type": "struct" | ||
}, | ||
"__main__.main.Return": { | ||
"cairo_type": "()", | ||
"type": "type_definition" | ||
}, | ||
"__main__.main.SIZEOF_LOCALS": { | ||
"type": "const", | ||
"value": 1 | ||
}, | ||
"__main__.main.__temp0": { | ||
"cairo_type": "felt", | ||
"full_name": "__main__.main.__temp0", | ||
"references": [ | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 5 | ||
}, | ||
"pc": 16, | ||
"value": "[cast(ap + (-1), felt*)]" | ||
} | ||
], | ||
"type": "reference" | ||
}, | ||
"__main__.main.__temp1": { | ||
"cairo_type": "felt", | ||
"full_name": "__main__.main.__temp1", | ||
"references": [ | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 6 | ||
}, | ||
"pc": 19, | ||
"value": "[cast(ap + (-1), felt*)]" | ||
} | ||
], | ||
"type": "reference" | ||
}, | ||
"__main__.main.p": { | ||
"cairo_type": "__main__.Pair*", | ||
"full_name": "__main__.main.p", | ||
"references": [ | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 4 | ||
}, | ||
"pc": 13, | ||
"value": "[cast(ap + (-1), __main__.Pair**)]" | ||
}, | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 4 | ||
}, | ||
"pc": 14, | ||
"value": "[cast(fp, __main__.Pair**)]" | ||
} | ||
], | ||
"type": "reference" | ||
}, | ||
"starkware.cairo.common.alloc.alloc": { | ||
"decorators": [], | ||
"pc": 6, | ||
"type": "function" | ||
}, | ||
"starkware.cairo.common.alloc.alloc.Args": { | ||
"full_name": "starkware.cairo.common.alloc.alloc.Args", | ||
"members": {}, | ||
"size": 0, | ||
"type": "struct" | ||
}, | ||
"starkware.cairo.common.alloc.alloc.ImplicitArgs": { | ||
"full_name": "starkware.cairo.common.alloc.alloc.ImplicitArgs", | ||
"members": {}, | ||
"size": 0, | ||
"type": "struct" | ||
}, | ||
"starkware.cairo.common.alloc.alloc.Return": { | ||
"cairo_type": "(ptr: felt*)", | ||
"type": "type_definition" | ||
}, | ||
"starkware.cairo.common.alloc.alloc.SIZEOF_LOCALS": { | ||
"type": "const", | ||
"value": 0 | ||
} | ||
}, | ||
"main_scope": "__main__", | ||
"prime": "0x800000000000011000000000000000000000000000000000000000000000001", | ||
"reference_manager": { | ||
"references": [ | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 4 | ||
}, | ||
"pc": 13, | ||
"value": "[cast(ap + (-1), __main__.Pair**)]" | ||
}, | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 4 | ||
}, | ||
"pc": 14, | ||
"value": "[cast(fp, __main__.Pair**)]" | ||
}, | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 5 | ||
}, | ||
"pc": 16, | ||
"value": "[cast(ap + (-1), felt*)]" | ||
}, | ||
{ | ||
"ap_tracking_data": { | ||
"group": 3, | ||
"offset": 6 | ||
}, | ||
"pc": 19, | ||
"value": "[cast(ap + (-1), felt*)]" | ||
} | ||
] | ||
} | ||
} |
Binary file added
BIN
+17.1 KB
integration_tests/cairo_zero_hint_tests/assert_250_bits.small_compile_memory
Binary file not shown.
Binary file added
BIN
+17.1 KB
integration_tests/cairo_zero_hint_tests/assert_250_bits.small_compile_py_memory
Binary file not shown.
Binary file added
BIN
+192 KB
integration_tests/cairo_zero_hint_tests/assert_250_bits.small_compile_py_trace
Binary file not shown.
Binary file added
BIN
+192 KB
integration_tests/cairo_zero_hint_tests/assert_250_bits.small_compile_trace
Binary file not shown.
Oops, something went wrong.