Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
3
votes
Accepted
Generate software breakpoint other than int3
You will then need to create your own "breakpoint" handling logic (create & delete breakpoint) by modifying code at desired addresses to trigger that exception and restore it afterwards. … For those reasons, division by zero is far less convinenet to use as a software breakpoint alternative. …
1
vote
How to set hardware breakpoint by value?
You'll have to use any other mechanisms, probably a memory breakpoint, and a conditional check of what's at the top of the stack. …
1
vote
How to breakpoint exe tcp packet
There's a huge variary of windows API functions that let a program send TCP packets. Non of those (as far as I recall) contain the strings tcp or send buffer in their name.
to reverse engineer networ …
1
vote
Can I set more than 4 memory access breakpoints in WinDbg?
Although most debuggers implement that internally, memory breakpoints work by setting the PAGE_GUARD bit for all pages in the memory breakpoint address range, and then filtering any exceptions caught for …
1
vote
Why hook a function rather than set a breakpoint
Both hooks and debuggers are easy enough to detect if you're looking for them. Using API in order to read the debugee's memory by the debugger is no real disadvantage, in my opinion.
I find debugging …
3
votes
Is it possible to hook CPU instructions without severe performance impact?
Writing an hypervisor
The best way to currently do this is by creating a micro-hypervisor, exploiting technologies originally created to support faster virtualization to monitor usermode as well as k …
2
votes
Accepted
What is the difference between binary instrumentation and software breakpoints?
Software breakpoint
A software breakpoint is a specific instruction (in x86: int 3, encoded both as 0xcc and 0xcd0x03) that tells the CPU the user (in CPU terms, this usually means a developer) would like … A debugger sets a software breakpoint by replacing a single instruction (or part of it) with a the software breakpoint interrupt, and sets it back to the original instruction when it later resumes execution …
0
votes
Locate address of function in DLL
The best option here is probably your first suggestion - finding an exported function that calls your function, and then disassembling it in run time to figure out where the call points to.
This is p …