(ctxt: *mut c_void)
| 2105 | } |
| 2106 | |
| 2107 | extern "C" fn cb_instruction_alignment<A>(ctxt: *mut c_void) -> usize |
| 2108 | where |
| 2109 | A: 'static + Architecture<Handle = CustomArchitectureHandle<A>> + Send + Sync, |
| 2110 | { |
| 2111 | let custom_arch = unsafe { &*(ctxt as *mut A) }; |
| 2112 | custom_arch.instruction_alignment() |
| 2113 | } |
| 2114 | |
| 2115 | extern "C" fn cb_max_instr_len<A>(ctxt: *mut c_void) -> usize |
| 2116 | where |
nothing calls this directly
no test coverage detected