Skip to content

Commit fd9f230

Browse files
committed
Update some tests and examples
1 parent 6341003 commit fd9f230

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rust/examples/hlil.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ fn main() {
4444
}
4545

4646
mod visitor {
47-
use binaryninja::hlil::HighLevelILLiftedOperand::*;
48-
use binaryninja::hlil::{HighLevelILFunction, HighLevelILLiftedInstruction};
47+
use binaryninja::high_level_il::HighLevelILLiftedOperand::*;
48+
use binaryninja::high_level_il::{HighLevelILFunction, HighLevelILLiftedInstruction};
4949
use binaryninja::variable::Variable;
5050

5151
fn print_indent(indent: usize) {

rust/examples/mlil.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ fn main() {
4545

4646
mod visitor {
4747
use binaryninja::architecture::Intrinsic;
48-
use binaryninja::mlil::MediumLevelILLiftedOperand::*;
49-
use binaryninja::mlil::{MediumLevelILFunction, MediumLevelILLiftedInstruction};
48+
use binaryninja::medium_level_il::MediumLevelILLiftedOperand::*;
49+
use binaryninja::medium_level_il::{MediumLevelILFunction, MediumLevelILLiftedInstruction};
5050
use binaryninja::variable::Variable;
5151

5252
fn print_indent(indent: usize) {

rust/tests/project.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ fn modify_project(_session: &Session) {
197197
let file_4_desc = "";
198198
let file_4_id = "123123123";
199199
let _file_4 = unsafe {
200-
project.create_file_with_progress_unsafe(
200+
project.create_file_unsafe_with_progress(
201201
file_4_data,
202202
Some(&folder_3),
203203
"file_4",
@@ -236,7 +236,7 @@ fn modify_project(_session: &Session) {
236236
)
237237
.unwrap();
238238
let file_8 = unsafe {
239-
project.create_file_from_path_with_progress_unsafe(
239+
project.create_file_from_path_unsafe_with_progress(
240240
&input_file_1,
241241
None,
242242
"file_7",

0 commit comments

Comments
 (0)