Module: Crabstone::Binding
- Extended by:
- FFI::Library
- Defined in:
- lib/crabstone/cs_version.rb,
lib/crabstone/binding.rb,
lib/crabstone/binding/structs.rb,
lib/crabstone/binding/3/detail.rb,
lib/crabstone/binding/4/detail.rb,
lib/crabstone/binding/5/detail.rb,
lib/crabstone/binding/3/instruction.rb,
lib/crabstone/binding/4/instruction.rb,
lib/crabstone/binding/5/instruction.rb
Defined Under Namespace
Classes: Architecture, Detail, Instruction, SkipdataConfig
Class Method Summary collapse
-
.safe_attach(*args) ⇒ Object
Wrap to prevent function not found in elder Capstone.
Class Method Details
.safe_attach(*args) ⇒ Object
Wrap to prevent function not found in elder Capstone.
42 43 44 45 |
# File 'lib/crabstone/binding.rb', line 42 def self.safe_attach(*args) attach_function(*args) rescue FFI::NotFoundError # rubocop: disable Lint/SuppressedException end |