AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   VFunc finding (https://forums.alliedmods.net/showthread.php?t=129372)

Chrisber 06-12-2010 08:07

VFunc finding
 
Hey guys.
On the wiki there is a list of a lot of VFunc offsets (whats very nice of course).
For example I take this list: http://wiki.alliedmods.net/CCSPlayer...ike:_Source%29

Can anybody explain how I can create this list? I think these guys did it with IDA, so I already analyzed the server.dll but I can't find any menu iteam that is doing what I expected.

Thanks for help!

Keeper 06-12-2010 09:23

Re: VFunc finding
 
You have to use server.so if you want to get the list. And those lists are generated using IDA. Look here for the script: http://hg.alliedmods.net/sourcemod-c...table_dump.idc

Chrisber 06-12-2010 10:15

Re: VFunc finding
 
Okay, thanks. Are the given offsets for linux or for windows then? Because if you look on the wiki page, the linux offsets are one greater.

Chris

Afronanny 06-12-2010 15:03

Re: VFunc finding
 
Quote:

Originally Posted by Chrisber (Post 1206700)
Okay, thanks. Are the given offsets for linux or for windows then? Because if you look on the wiki page, the linux offsets are one greater.

Chris

Even though it is the Linux binary, iirc the offsets given are still the windows offsets.

Chrisber 06-12-2010 17:04

Re: VFunc finding
 
Okay, thanks =)

asherkin 06-12-2010 17:09

Re: VFunc finding
 
Quote:

Originally Posted by Afronanny (Post 1206890)
Even though it is the Linux binary, iirc the offsets given are still the windows offsets.

Nooooooooooooooooooo.
If you put 0 in the dialog box that pops up using the script you get the exact Linux offsets, the windows offsets are usually -1, but it varies depending on a few factors, normally overloaded functions.

Afronanny 06-12-2010 20:57

Re: VFunc finding
 
Quote:

Originally Posted by asherkin (Post 1207047)
Nooooooooooooooooooo.
If you put 0 in the dialog box that pops up using the script you get the exact Linux offsets, the windows offsets are usually -1, but it varies depending on a few factors, normally overloaded functions.

The default is 1 in the dialog box iirc. I was assuming he didn't change that.

asherkin 06-13-2010 00:43

Re: VFunc finding
 
Yes, but the offsets you get are 'guessed' windows ones, they are not always correct, and I wish people would stop telling people they are the windows offsets without at least a warning that they may not be correct.

Afronanny 06-13-2010 06:39

Re: VFunc finding
 
Quote:

Originally Posted by asherkin (Post 1207310)
Yes, but the offsets you get are 'guessed' windows ones, they are not always correct, and I wish people would stop telling people they are the windows offsets without at least a warning that they may not be correct.

Oh ok. I was unaware of this fact myself. I saw on some wiki page that those are the Windows offsets. Meh.

DJ Tsunami 06-13-2010 06:52

Re: VFunc finding
 
Quote:

Originally Posted by asherkin (Post 1207310)
Yes, but the offsets you get are 'guessed' windows ones, they are not always correct, and I wish people would stop telling people they are the windows offsets without at least a warning that they may not be correct.

Maybe you should add that to http://wiki.alliedmods.net/Finding_Virtual_Offsets :)


All times are GMT -4. The time now is 01:41.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.