Skip to content

Commit

Permalink
mach: add LoadWeakDylib to import libs. ref #73
Browse files Browse the repository at this point in the history
  • Loading branch information
m4b committed Jan 28, 2018
1 parent 79aecc8 commit 2b074ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mach/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ impl<'a> MachO<'a> {
load_command::CommandVariant::LoadDylib (command)
| load_command::CommandVariant::LoadUpwardDylib(command)
| load_command::CommandVariant::ReexportDylib (command)
| load_command::CommandVariant::LoadWeakDylib (command)
| load_command::CommandVariant::LazyLoadDylib (command) => {
let lib = bytes.pread::<&str>(cmd.offset + command.dylib.name as usize)?;
libs.push(lib);
Expand Down

0 comments on commit 2b074ba

Please sign in to comment.