MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / current_object

Method current_object

rust/src/linear_view.rs:287–292  ·  view source on GitHub ↗

Gets the current [`LinearViewObject`] associated with this cursor.

(&self)

Source from the content-addressed store, hash-verified

285
286 /// Gets the current [`LinearViewObject`] associated with this cursor.
287 pub fn current_object(&self) -> Ref<LinearViewObject> {
288 unsafe {
289 let handle = BNGetLinearViewCursorCurrentObject(self.handle);
290 LinearViewObject::ref_from_raw(handle)
291 }
292 }
293
294 pub fn duplicate(&self) -> Ref<Self> {
295 unsafe {

Callers 1

Calls

no outgoing calls

Tested by 1