Hardware breakpoints? menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    reggggg's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hardware breakpoints?

    I am trying to find some way to 'debug' WoW from my in-process module/EndScene hook.

    At first I thought I might just use VEHs plus VirtualProtect as a sort of 'virtual breakpoint'. However, I discovered that you can only change the protection attributes for an entire memory page, and couldn't see any way to single step through the entire page with a VEH.

    So my second idea has been to use VEHs plus the debug registers with Get/SetThreadContext (aka hardware breakpoints). However, I've had little luck with this approach. It seems that once I login to WoW, the client or battle.net decides to set its own values to the debug registers, that point to ... frankly useless instructions.
    Code:
    dr0: 11857648 <--- my wanted bp
    dr1: 0
    dr2: 0
    dr3: 0
    dr0: 11857648
    dr1: 0
    dr2: 0
    dr3: 0
    dr0: 11857648
    dr1: 0
    dr2: 0
    dr3: 0
    
    // i login to wow here
    
    VEH Raised at 5DD543EE <- exception_continue_search 
    EIP: 1574257646
    EAX: 8
    ESP: 3730868
    
    VEH Raised at 5DD5444F <- exception_continue_search 
    EIP: 1574257743
    EAX: 16
    ESP: 3730864
    
    VEH Raised at 5DD7731A <- exception_continue_search 
    EIP: 1574400794
    EAX: 3730316
    ESP: 3730292
    
    dr0: 1567011328 <- utter garbage
    dr1: 1567133824
    dr2: 1567210160
    dr3: 1567028000
    Is it safe to overwrite these? Will WoW just write them back? Have I just missed an obvious way of doing what I would like (which is reading eax at a certain instruction without changing any opcodes T_T)
    Last edited by reggggg; 02-20-2011 at 02:03 AM.

    Hardware breakpoints?
  2. #2
    jjaa's Avatar Contributor
    Reputation
    245
    Join Date
    Dec 2006
    Posts
    562
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    battle.net.dll has a lot of anti debugging crap. Although possible to bypass, your best option would be to just remove and then re-apply after login.

  3. #3
    reggggg's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thats a pity i was hoping to use it to do some looking at warden during login

  4. #4
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by reggggg View Post
    thats a pity i was hoping to use it to do some looking at warden during login
    Blizzard: 1
    You: 0


Similar Threads

  1. Properly setting a hardware breakpoint via dll injection
    By noctural in forum WoW Memory Editing
    Replies: 7
    Last Post: 08-22-2022, 03:48 AM
  2. C# - Hardware breakpoint not working properly
    By Pwnmanship in forum Programming
    Replies: 1
    Last Post: 03-30-2015, 10:19 AM
  3. <><> HARDWARE STORE (Wow Video!!) <><>
    By gameslayer001 in forum Screenshot & Video Showoff
    Replies: 1
    Last Post: 06-30-2007, 07:31 PM
  4. Hardware section
    By Snitch in forum Suggestions
    Replies: 6
    Last Post: 04-14-2007, 04:48 PM
  5. Emu Server Hardware?
    By isacneuton in forum World of Warcraft General
    Replies: 0
    Last Post: 08-23-2006, 11:52 AM
All times are GMT -5. The time now is 12:58 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search