This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/20638] New: SEGFAULT crash the application when breakpoints are set


https://sourceware.org/bugzilla/show_bug.cgi?id=20638

            Bug ID: 20638
           Summary: SEGFAULT crash the application when breakpoints are
                    set
           Product: gdb
           Version: archer
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: ho99130 at gmail dot com
  Target Milestone: ---

Created attachment 9524
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9524&action=edit
my exploit code

I'm trying to write an ROP for the challenge 
https://www.root-me.org/en/Challenges/App-System/Hardened-binary-2
and it keeps crashing when breakpoints on gadgets are set before I reach
them(which is strange as they're actually executable like any other parts of
the .text section), the fact is that my previous exploit on the ch21
executable(hardened 1) works fine without breakpoints and crashes with the same
SEGFAULT error on 
0x804856e: mov dword ptr [ebx + 0x5d5b04c4], eax, ret(the address here is for
the ch22 that I'm working on right now)
I'm using the version 7.11.1 which comes from Archlinux Repos and installed
Peda extension(last from git) for this one, I'm attaching the exploit
itself(which is not finished yet) for the debugging

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]