MCPcopy Create free account
hub / github.com/capstone-engine/capstone / testcb

Function testcb

bindings/python/tests/test_skipdata.py:20–22  ·  view source on GitHub ↗
(buffer, size, offset, userdata)

Source from the content-addressed store, hash-verified

18
19# Sample callback for SKIPDATA option
20def testcb(buffer, size, offset, userdata):
21 # always skip 2 bytes of data
22 return 2
23
24
25# ## Test class Cs

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…