Skip Navigation

User banner
Posts
7
Comments
67
Joined
2 yr. ago

  • For those of you still struggling (like me), here's an image:

  • Excellent question!

    Before replacing the instruction with INT 3, the debugger keeps a note of what instruction was at that point in the code. When the CPU encounters INT 3, it hands control to the debugger.

    When the debugging operations are done, the debugger replaces the INT 3 with the original instruction and makes the instruction pointer go back one step, thereby ensuring that the original instruction is executed.

  • https://en.wikipedia.org/wiki/INT_(x86_instruction) (scroll down to INT3)

    https://stackoverflow.com/a/61946177

    The TL;DR is that it's used by debuggers to set a breakpoint in code.

    For example, if you're familiar with gdb, one of the simplest ways to make code stop executing at a particular point in the code is to add a breakpoint there.

    Gdb replaces the instruction at the breakpoint with 0xCC, which happens to be the opcode for INT 3 --- generate interrupt 3. When the CPU encounters the instruction, it generates interrupt 3, following which the kernel's interrupt handler sends a signal (SIGTRAP) to the debugger. Thus, the debugger will know it's meant to start a debugging loop there.

  • ... I am 100% certain that if they switched to being individually wrapped tomorrow, a complaint about excessive packaging would be one of the top posts here.

    You're undeniably right. The best situation would be to not have any wrapping at all... but with the crumb situation, that'd be another top post here :/

  • https://www.gimp.org/news/2024/05/05/gimp-2-10-38-released/

    This (possibly last) GIMP 2 stable release brings much-requested backports from GTK3, including improved support for tablets on Windows. A number of bug fixes and minor improvements are also included in this release.

    If the release says that this is possibly the last GIMP2 stable release, it feels like GIMP3 is actually on its way. I understand your cynicism, but I'd be more optimistic this time around.

  • In dark mode, the anchor tags are difficult to read. They're dark blue on a dark background. Perhaps consider something with a much higher contrast?

    Apart from that, nice idea - I'm going to deploy the zipbomb today!