Address != Offset menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    XTZGZoReX's Avatar Active Member
    Reputation
    32
    Join Date
    Apr 2008
    Posts
    173
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Address != Offset

    Just thought I'd throw a terminology nazi on you folks.

    An address is an absolute location in memory. An offset is a displacement from an absolute address.

    Just sayin'.

    Address != Offset
  2. #2
    sitnspinlock's Avatar Elite User CoreCoins Purchaser
    Reputation
    398
    Join Date
    Sep 2010
    Posts
    439
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and where did such infraction occur at :P

  3. #3
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And an offset from zero is effectively an absolute address.

  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 _Mike View Post
    And an offset from zero is effectively an absolute address.
    ^ This.

    Nazi fail by OP.

  5. #5
    XTZGZoReX's Avatar Active Member
    Reputation
    32
    Join Date
    Apr 2008
    Posts
    173
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    ^ This.

    Nazi fail by OP.
    If you're writing 0x0 + 0xdeadbeef in your code, you're retarded.

    and where did such infraction occur at :P
    About every new person who comes here with zero knowledge (see: info dump threads).
    Last edited by XTZGZoReX; 04-28-2011 at 07:20 AM.

  6. #6
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by XTZGZoReX View Post
    If you're writing 0x0 + 0xdeadbeef in your code, you're retarded.



    About every new person who comes here with zero knowledge (see: info dump threads).
    Well basicly an address is just a special case of an offset like a square is a rectangle for example but not the other way around. So you should probably say Offset != Address.

  7. #7
    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 XTZGZoReX View Post
    If you're writing 0x0 + 0xdeadbeef in your code, you're retarded.



    About every new person who comes here with zero knowledge (see: info dump threads).
    It's not about how you express your addresses/offsets in your code, it's about the semantics of the terms. It's simply the fact that absolute addresses CAN be expressed as offsets. You were implying that the two terms are mutually exclusive, when they are not. Stop trying to troll, you're bad at it, and in this case you're wrong anyway.
    Last edited by Cypher; 04-28-2011 at 08:28 AM.

  8. #8
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by XTZGZoReX View Post
    If you're writing 0x0 + 0xdeadbeef in your code, you're retarded.
    Hmm, lets look at your definition of an offset shall we?

    Originally Posted by XTZGZoReX View Post
    An offset is a displacement from an absolute address.

    Sooooo.... 0x0 is NOT an absolute address?

    I'm curious, what do you think is posted in those dump threads? Addresses or offsets?
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  9. #9
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    I'm curious, what do you think is posted in those dump threads? Addresses or offsets?
    Addroffses obviously

    And besides; ASLR (and even virtual memory in a way) invalidates the OP's argument even more.
    When people talk about offsets, they are actually talking about.. waait for it.. offsets.

  10. #10
    gononono64's Avatar Contributor
    Reputation
    100
    Join Date
    Jul 2009
    Posts
    85
    Thanks G/R
    1/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you do not know the difference between an address and an offset, you should not be snooping in the dump anyways nor on this forum section. Thats right all you noobs (that like to message me) reading this thread to figure it out! Go away and read a few books!
    Hi! My name is Devon and I’m an alcoholic. Moving on…
    https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/319172-guide-how-make-wow-bot-complete-newbs.html

  11. #11
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And what about 0x0 (as you call it address) being just an offset into your thread's memory?

  12. #12
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    interesting thread...

  13. #13
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So what determines where 'absolute 0' starts from? Is it 0x0? Or the image base?

    Also; is an offset of 0x0 from 0x0 still an offset? Or an address?

    MY MIND HAS BEEN BLOWN

  14. #14
    XTZGZoReX's Avatar Active Member
    Reputation
    32
    Join Date
    Apr 2008
    Posts
    173
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I suppose some clarification is needed....

    What constitutes an absolute address obviously depends on your viewpoint. From an application point of view, an address is the image base plus an offset into the virtual memory. From an OS point of view, that is an offset (depending on its implementation...obviously). I think it's safe to say that the development going on in this forum does not go OS-level, so for all practical purposes, the result of image base plus offset might as well be an absolute address here, and is what I'm going to assume in the rest of this post.

    And an offset from zero is effectively an absolute address.
    The resulting value, yes. The act of saying 0x0 + <something>, no. That's offsetting, and <something> is the offset, which is what I'm getting at. In the end, a value is not an offset unless it's used as the offset in an offsetting expression...

    Sooooo.... 0x0 is NOT an absolute address?
    I don't think I said it wasn't. 0x0 alone is as much an absolute address as 0xffffffff is.

    It's not about how you express your addresses/offsets in your code, it's about the semantics of the terms. It's simply the fact that absolute addresses CAN be expressed as offsets. You were implying that the two terms are mutually exclusive, when they are not.
    They can be expressed as the result of a base plus an offset, yes, or simply a full, absolute value. Just taking the offset part of a base + offset expression and calling it both an absolute address and an offset is not valid. The moment you're using it as an absolute address, it no longer takes part in an offsetting expression, and thus...is not an offset. So yes, they are very much mutually exclusive.

    You can represent an absolute address as the result of an offsetting expression, but an absolute address is not an offset, which is what my thread title is saying.

    Also; is an offset of 0x0 from 0x0 still an offset? Or an address?
    Per definition, it still is an offsetting expression, even if this is a bit of an edge case. The result would be an address (although, probably not a very useful one).

    I'm curious, what do you think is posted in those dump threads? Addresses or offsets?
    Since ASLR was enabled in WoW, offsets. Before that, absolute addresses (image base (0x400000) plus offset). Quite obviously.

    You seem to be assuming that I'm implying 'offset' is the incorrect term for what's currently posted in those info dump threads. I didn't say that. On the contrary, calling what's currently posted addresses would be wrong, which is actually what I'm getting at. Maybe you should be a bit less hasty with jumping the "lol ASLR noob" bandwagon.

    And besides; ASLR (and even virtual memory in a way) invalidates the OP's argument even more.
    When people talk about offsets, they are actually talking about.. waait for it.. offsets.
    Virtual memory invalidates my statements so far completely if we're looking from an OS point of view, but there's no reason you would need to in this forum of all places, as already stated. ASLR does not invalidate my argument; ASLR simply defers finding the absolute address to runtime. I don't quite see how this relates to my statements so far.

    My entire point with this thread is that incorrect terminology leads to confusion (as was very effing evident in this forum after WoW's switch to ASLR), and that it needs to be fixed. This obviously means that this thread doesn't even target any of the people who have replied so far, but rather, newcomers.

    Hopefully this clarification helps with getting that simple point across.

  15. #15
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But the point is that an offset is a value that is relative to another value. An absolute address is a value that is relative to 0. Therefore an absolute address is just as much an offset as an RVA, for instance, because an absolute address is relative to 0.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

Page 1 of 2 12 LastLast

Similar Threads

  1. A Few Questions About WOW 1.12.1 (5875) Addresses & Offsets
    By abystus in forum WoW Memory Editing
    Replies: 1
    Last Post: 06-22-2013, 08:29 AM
  2. [Help]How to find some addresses/offsets 5.0.5
    By broly7 in forum WoW Memory Editing
    Replies: 3
    Last Post: 01-09-2013, 05:32 PM
  3. translating memory addresses / offsets
    By saintdog in forum SWTOR Bots and Programs
    Replies: 4
    Last Post: 01-19-2012, 06:02 PM
  4. Finding offsets & base addresses for _private_ servers?
    By abraziv in forum WoW Memory Editing
    Replies: 6
    Last Post: 01-13-2011, 03:55 PM
  5. More 2.4 Addresses and Offsets
    By roflcopterman in forum WoW Memory Editing
    Replies: 2
    Last Post: 03-30-2008, 01:54 AM
All times are GMT -5. The time now is 11:30 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