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
/Ord
implementation forInsnId
,InsnGroupId
,RegId
- Lifetime to
Capstone
/Insn
struct alloc_system
feature 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 self
instead of&self
and returns a new lifetimeCapstone
is no longerSend
/Sync
(it was mistakenly auto-implemented)Capstone::new()
builder pattern methods takeself
instead of&mut self
Capstone::set_endian()
is now public (allowed since internal Capstone version was upgraded)
Removed
- Duplicate/unneeded
Capstone
methods that have equivalents inInsnDetail
insn_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
Mode
enum into:Mode
,ExtraMode
, andEndian
- Rename
Capstone
methods that return IDs to include_ids
in name- Example:
read_registers()
renamed toread_register_ids()
- Example:
v0.1.0
Added
Capstone
methods to set syntax and mode- Travis continuous integration
Changed
- Use
capstone-sys
crate for low-level Capstone bindings Capstone::new()
takes aarch
andmode
argumentsCapstone::disasm()
replaced withCapstone::disasm_all()
/Capstone::disasm_count()