| 1356 | */ |
| 1357 | |
| 1358 | pub fn load<'a, E>(&'a self, size: usize, source_mem: E) -> ExpressionBuilder<'a, A, ValueExpr> |
| 1359 | where |
| 1360 | E: LiftableLowLevelIL<'a, A, Result = ValueExpr>, |
| 1361 | { |
| 1362 | use binaryninjacore_sys::BNLowLevelILOperation::LLIL_LOAD; |
| 1363 | |
| 1364 | let expr = E::lift(self, source_mem); |
| 1365 | |
| 1366 | ExpressionBuilder { |
| 1367 | function: self, |
| 1368 | op: LLIL_LOAD, |
| 1369 | size, |
| 1370 | flag_write: FlagWriteId(0), |
| 1371 | op1: expr.index.0 as u64, |
| 1372 | op2: 0, |
| 1373 | op3: 0, |
| 1374 | op4: 0, |
| 1375 | _ty: PhantomData, |
| 1376 | } |
| 1377 | } |
| 1378 | |
| 1379 | pub fn store<'a, D, V>( |
| 1380 | &'a self, |