Wow Freezes after ptrace? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    notreal123's Avatar Member
    Reputation
    3
    Join Date
    May 2020
    Posts
    4
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wow Freezes after ptrace?

    I'm new to this whole memory thing... I understand memory concepts pretty well, I've taken some comp sci classes and in the IT field.

    I'm running in to trouble trying to read memory from classic client under linux wine. Search terms yield not much around this.

    Just trying to get my feet wet and read basic info, but whenever I do, the client stops responding. What could be the cause of this?

    I've disabled apparmor thinking that might be it, but to no avail.

    Any tips?
    code for those interested..

    ```
    #!/usr/bin/env python

    from ptrace.debugger.debugger import PtraceDebugger
    from ptrace.debugger.process import PtraceProcess
    from struct import unpack
    from os import popen

    # read Word, or ByteArray if size is provided
    def read(address, size=None):
    global tracer

    if not size:
    return tracer.readWord(address)
    return tracer.readBytes(address, size)

    # read unsigned int
    def readInt4(address):
    return unpack("I", read(address, 4))[0]

    # get pid and instantiate ptrace wrapper
    #pid = int(popen("pidof Wow.exe", "r").read().strip())
    pid = 22688
    tracer = PtraceProcess(PtraceDebugger(), pid, False)

    print(read(0x00C79D18, 12))
    print("read_x_offset --- " + str(read(0x853D40 + 0x7D0,4)))
    print(read(0x00468580,12))
    print(read(0x853D40,12))

    ```

    Wow Freezes after ptrace?
  2. #2
    notreal123's Avatar Member
    Reputation
    3
    Join Date
    May 2020
    Posts
    4
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Self answering incase anyone ever reads....

    Once I realized that ptrace and other similar programs are essentially debuggers, it dawned on me that I just needed to "continue" in my debugging session.

    Calling

    tracer.detach()

    For my simple program this resolved and allowed wow to keep running.

  3. #3
    thateuler's Avatar Member
    Reputation
    8
    Join Date
    May 2019
    Posts
    29
    Thanks G/R
    22/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you find that you can't read/write process memory after doing the tracer.detach(), then try using tracer.cont() instead.

Similar Threads

  1. [In need of tech support]WoW Freezing
    By Kpmk in forum World of Warcraft General
    Replies: 2
    Last Post: 04-16-2008, 12:09 AM
  2. [Help] WoW broken after 2.4
    By craftermain in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 03-26-2008, 01:49 PM
  3. WoW Error after compiling Ascent
    By Shao111 in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 12-31-2007, 04:17 PM
  4. WoW Freezing
    By Jboz in forum World of Warcraft General
    Replies: 4
    Last Post: 06-11-2006, 12:12 PM
All times are GMT -5. The time now is 04:44 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search