Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update object #173

Merged
merged 4 commits into from
Jan 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ before_script:
- if [[ -e ~/Library/Python/2.7/bin ]]; then export PATH=~/Library/Python/2.7/bin:$PATH; fi
- if [[ -e ~/.local/bin ]]; then export PATH=~/.local/bin:$PATH; fi
- echo PATH is $PATH
- export RUST_BACKTRACE=1

script:
- |
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ leb128 = "0.2.1"
[dev-dependencies]
getopts = "0.2"
memmap = "0.4.0"
object = "0.1.0"
object = "0.3.0"
test-assembler = "0.1.3"

[features]
Expand Down
3 changes: 2 additions & 1 deletion examples/dwarfdump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ fn main() {
let file = fs::File::open(&file_path).expect("Should open file");
let file = memmap::Mmap::open(&file, memmap::Protection::Read)
.expect("Should create a mmap for file");
let file = object::File::parse(unsafe { file.as_slice() });
let file = object::File::parse(unsafe { file.as_slice() })
.expect("Should parse object file");

if file.is_little_endian() {
dump_file::<gimli::LittleEndian>(file, &flags);
Expand Down
3 changes: 0 additions & 3 deletions src/cfi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2615,9 +2615,6 @@ mod tests {
type DebugFrameCie<'input, Endian> = CommonInformationEntry<'input,
Endian,
DebugFrame<'input, Endian>>;
type EhFrameCie<'input, Endian> = CommonInformationEntry<'input,
Endian,
EhFrame<'input, Endian>>;
type DebugFrameFde<'input, Endian> = FrameDescriptionEntry<'input,
Endian,
DebugFrame<'input, Endian>>;
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@

#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(warnings)]

extern crate arrayvec;
extern crate byteorder;
Expand Down