VB Decompiler Forum Index VB Decompiler
Hosted by TheAutomaters.com
 
  MemberlistMemberlist
 

Where to start for P-Code Analysis?

 
   VB Decompiler Forum Index -> The Code
Author Message
vbgamer45
Regular user


Joined: 07 Jul 2004
Posts: 93
Location: 127.0.0.1

Posted: Fri Aug 13, 2004 1:24 pm     Post subject: Where to start for P-Code Analysis?

Right now I am looking for the first Code-Info struture to begin my pcode analysis. Right now I am going off the one in the Method Table. Any ideas?
Back to top
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Fri Aug 13, 2004 3:19 pm     Post subject:

look at the method/codeinfo struct.

the method table....now renamed to methodpointer array is an array of longs that point to the Methods

parsing a Method struct will give you information on where to find the actual code.

<a href="./viewtopic.php?t=27">Method</a>

The code is actually before the method. Once you get the method length you subtract that from the Method Offset and that will give you th start address of the code.

The link above explains it in a more visual way.
_________________
-MrU
Back to top
   VB Decompiler Forum Index -> The Code All times are GMT
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group