Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
objcopy_crash_input_1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanggen
objcopy_crash_input_1
Commits
9d9c2a9a
Commit
9d9c2a9a
authored
Jul 13, 2018
by
zhanggen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack trace
parent
0e2f1061
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
+18
-1
readme
readme
+18
-1
No files found.
readme
View file @
9d9c2a9a
please download the latest version of objcopy and the crash input file.
COMMAND LINE: ./objcopy crash\ input a.elf
Then you will see the segmentation fault
Then you will see the segmentation fault.
The stack trace is as follows from gdb:
#0 aout_32_swap_std_reloc_out (abfd=abfd@entry=0x7482f0, g=0x74a730, natptr=natptr@entry=0x748658)
at aoutx.h:1971
#1 0x000000000048980f in aout_32_squirt_out_relocs (abfd=abfd@entry=0x7482f0, section=<optimized out>)
at aoutx.h:2444
#2 0x00000000004840a1 in i386linux_write_object_contents (abfd=0x7482f0) at i386linux.c:77
#3 0x000000000043066a in bfd_close (abfd=0x7482f0) at opncls.c:731
#4 0x000000000040bd36 in copy_file (
input_filename=input_filename@entry=0x7fffffffe284 "./crashes/id:000024,sig:11,src:002665,op:flip1,pos:52", output_filename=output_filename@entry=0x7fffffffe2ba "a.elf",
input_target=input_target@entry=0x0, output_target=<optimized out>, output_target@entry=0x0,
input_arch=input_arch@entry=0x0) at objcopy.c:3530
#5 0x0000000000404924 in copy_main (argv=<optimized out>, argc=<optimized out>) at objcopy.c:5478
#6 main (argc=3, argv=0x7fffffffdef8) at objcopy.c:5582
So the crash happens in aoutx.h, a header file in Binary File Descriptor library.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment