Releases: capstone-rust/capstone-rs
Releases · capstone-rust/capstone-rs
v0.5.0
v0.4.0
Added
- Criterion benchmark
- cstool example
- Codecov code coverage integration
PartialOrd/Ordimplementation forInsnId,InsnGroupId,RegId- Lifetime to
Capstone/Insnstruct alloc_systemfeature to use the system allocator instead of the default allocator (currently requires nightly)
Changed
- Minimum Rust version to 1.23.0
Capstone::disasm()methods take&mut selfinstead of&selfand returns a new lifetimeCapstoneis no longerSend/Sync(it was mistakenly auto-implemented)Capstone::new()builder pattern methods takeselfinstead of&mut selfCapstone::set_endian()is now public (allowed since internal Capstone version was upgraded)
Removed
- Duplicate/unneeded
Capstonemethods that have equivalents inInsnDetailinsn_belongs_to_group(),insn_group_ids(),register_id_is_read(),read_register_ids(),
register_id_is_written(),write_register_ids()
Fixed
- Race condition and memory unsafety in issue most easily observed on Mac OS (issue #26)
v0.3.1
v0.3.0
v0.2.0
Added
Capstone::new_raw()has the same interface as the oldCapstone::new_raw()- Add setters to modify mode, syntax, etc.
Changed
Capstone::new()uses the builder pattern- Partition
Modeenum into:Mode,ExtraMode, andEndian - Rename
Capstonemethods that return IDs to include_idsin name- Example:
read_registers()renamed toread_register_ids()
- Example:
v0.1.0
Added
Capstonemethods to set syntax and mode- Travis continuous integration
Changed
- Use
capstone-syscrate for low-level Capstone bindings Capstone::new()takes aarchandmodeargumentsCapstone::disasm()replaced withCapstone::disasm_all()/Capstone::disasm_count()