Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7007493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:36:51+00:00 2026-05-27T21:36:51+00:00

I recently read a text regarding buffer overflows that mentioned that setting breakpoints can

  • 0

I recently read a text regarding buffer overflows that mentioned that setting breakpoints can offset your memory addresses a bit. I think I ran into this issue the other day when attempting to overwrite an EIP: the exploit seemed to work when I didn’t set a breakpoint, but caused a segfault when a breakpoint was set. What happened?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:36:52+00:00Added an answer on May 27, 2026 at 9:36 pm

    I recently read a text regarding buffer overflows that mentioned that setting breakpoints can offset your memory addresses a bit.

    Either you didn’t understand what that text was saying, or the text is wrong. It’s hard to say which of the two possibilities is true, since you didn’t provide a link to the text, or an actual quote.

    Update:

    http://www.deadc0de.info/2009/11/08/solution-level5-of-smashthestack-io/

    "as I said above, we have our return address completely overwritten on
    the stack with C’s (0x43). However, when you set your breakpoint on
    printf() the address may change."

    That statement is bogus. Setting a breakpoint can not and will not change the stack location where %ebp and the return address are stored.

    Setting a breakpoint does not normally affect memory layout, but may affect page protections: in order to insert a breakpoint, the debugger will usually do ptrace(PTRACE_POKETEXT, ...). That may or may not cause the .text page with the breakpoint writable (depending on the OS).

    What happened?

    You have not provided sufficient data to answer that question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently read somewhere that writing a regexp to match an email address, taking
I recently read a discussion regarding whether managed languages are slower (or faster) than
I recently read through Code Complete, and it recommends that I create a project
I recently read in a presentation on Scribd that Facebook had benchmarked a variety
I recently read that a method involving hashing could be a good way to
I recently made a little application to read in a text file of lyrics,
I recently read that the content provider content://sms shouldn't be used to access the
I've recently read that embedding ruby inside JavaScript is not a good idea. However,
Recently I was working with some strings, text input, things like that and I
I recently read a nice post on using StringIO in Ruby. What the author

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.