(&self)
| 410 | } |
| 411 | |
| 412 | pub fn basic_blocks(&self) -> Array<BasicBlock<NativeBlock>> { |
| 413 | unsafe { |
| 414 | let mut count = 0; |
| 415 | let blocks = BNGetFunctionBasicBlockList(self.handle, &mut count); |
| 416 | let context = NativeBlock { _priv: () }; |
| 417 | |
| 418 | Array::new(blocks, count, context) |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | /// Returns the BasicBlock that contains the given address `addr`. |
| 423 | /// |
no outgoing calls