You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: Allow providing reference programs as raw pcode (#89)
* Add reference program support for binary and raw pcode specifications
- Introduce ReferenceProgram struct representing steps and initial
memory valuation
- Implement loading reference programs from binary files and raw pcode
strings
- Add MemoryValuation helper for managing initial memory constraints
- Refactor specification config to support binary files or raw pcode
- Update dependency on jingle to 0.4.0 to support new features
* Update jingle dependency to version 0.4.0 with features
* clippy
* Refactor SpecificationConfig into a discriminated union
Split SpecificationConfig into BinaryFileSpecification and
RawPcodeSpecification to clearly represent the two specification
variants.
* Refactor reference program config using discriminated union
Define BinaryFileSpecification and RawPcodeSpecification models with a
discriminator field `type` for improved type safety and clarity. Add
detailed docstrings and helper repr methods.
* Transform specification JSON for Rust enum compatibility in run()
* Refactor imports and update __all__ in config init
* Improve PythonLoggerLayer to pass metadata via `extra` dictionary
Pass Rust file, line, and module path metadata separately to Python
logging to enable better integration without embedding them in the
message.
* Refactor configuration imports and update examples for raw pcode
- Rearrange imports in Python and Rust code for clarity and consistency
- Replace reference program file with raw pcode specification in
examples
- Adjust logging levels and output formatting for better debug info
- Update bench command to handle specification variants correctly
- Simplify tracing calls and improve error/info logging messages
* Update jingle dependency to version 0.4.2 in Cargo.toml files
Remove backup Cargo.toml~ file from crackers_python directory
0 commit comments