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

Nice... ;)

 
   VB Decompiler Forum Index -> Pseudo Code Database
Author Message
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Wed Nov 20, 2002 11:36 pm     Post subject: Nice... ;)

Ok well for now its done....

heres the link for the on-the-fly opcode database....

./pcode/opcodes.php

within a few days i will post info about the sourceargument strings.

maybe even an arg. string decoder....

alright let me know what you think....and if you want to be a Mod for the pcode db
_________________
-MrU


Last edited by MrUnleaded on Thu Jul 08, 2004 7:31 pm; edited 1 time in total
Back to top
sarge
Moderator


Joined: 24 Sep 2002
Posts: 194

Posted: Thu Nov 21, 2002 1:43 pm     Post subject:

Please add column headings

sarge
Back to top
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Thu Nov 21, 2002 3:56 pm     Post subject: hehe ok

[="sarge":14dfp2cv]Please add column headings

sarge[/:14dfp2cv]

heres what ill do....

ill add a param option so if you want the column headers add ?cols=1 to the end of the url
_________________
-MrU


Last edited by MrUnleaded on Thu Jul 08, 2004 7:30 pm; edited 1 time in total
Back to top
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Thu Nov 21, 2002 4:39 pm     Post subject: Re: hehe ok

[="MrUnleaded":1r403cxc][="sarge":1r403cxc]Please add column headings

sarge[/:1r403cxc]

heres what ill do....

ill add a param option so if you want the column headers add ?cols=1 to the end of the url[/:1r403cxc]

ok im done....

i also added a t=1 option so it will show a table....

the default is text-no column headers....
_________________
-MrU


Last edited by MrUnleaded on Thu Jul 08, 2004 7:31 pm; edited 1 time in total
Back to top
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Thu Nov 21, 2002 6:21 pm     Post subject: Re: hehe ok

on the html view(http://decompiler.theautomaters.com/pco ... es.php?t=1)

i added links to get to the corralating post on phpBB....that will make it so that you dont have to search though the 31 pages for a specific opcode...

default on html view is column headers on....
default on text view is column headers off....
_________________
-MrU
Back to top
sarge
Moderator


Joined: 24 Sep 2002
Posts: 194

Posted: Thu Nov 21, 2002 9:45 pm     Post subject: Help me Mr. Wizard

Ok, now explain what the blazes all that shorthand is!

I look at an easy one, like opcode 1C, which is BranchF. Now, I know that this means Branch if the stack is FFFFFFFF and where to branch to, etc. But how do I decode ">p" and "If (%p1) Then||End If". It would seem intuitive that the source code equivalent should be "if ?? = false then goto <someplace>.....endif". So, does "%" mean "not", as in "if not ??...", etc. Also, should the comments column explain how it works? That is, should a text explanation of the opcode go there, or are we really just more concerned with what we need to know to translate it into source code,and thus put "if ?? = false then goto <someplace>......endif" there?
Back to top
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Fri Nov 22, 2002 3:29 pm     Post subject: Re: Help me Mr. Wizard

[="sarge":3tc7igx6]Ok, now explain what the blazes all that shorthand is!

I look at an easy one, like opcode 1C, which is BranchF. Now, I know that this means Branch if the stack is FFFFFFFF and where to branch to, etc. But how do I decode ">p" and "If (%p1) Then||End If". It would seem intuitive that the source code equivalent should be "if ?? = false then goto <someplace>.....endif". So, does "%" mean "not", as in "if not ??...", etc. Also, should the comments column explain how it works? That is, should a text explanation of the opcode go there, or are we really just more concerned with what we need to know to translate it into source code,and thus put "if ?? = false then goto <someplace>......endif" there?[/:3tc7igx6]


lol sorry it will all be explained in due time......first of all the %pX is a reference to something off the stack...

search the string for the highest X value for example in opcode(2A) is the concat str

it has no args....therefore no argstr.....
the srcstr is "<%p2 & %p1"

the highest %pX is %p2....so take 2 items off the stack....and insert them in place of the %pX

the leading "<" tells us to push the result back to the stack

ill explain the ArgStr next.....
_________________
-MrU


Last edited by MrUnleaded on Thu Jul 08, 2004 7:31 pm; edited 1 time in total
Back to top
sarge
Moderator


Joined: 24 Sep 2002
Posts: 194

Posted: Fri Nov 22, 2002 5:50 pm     Post subject:

Ah, this sounds suspiciously like the way VB3 works; does it remind anyone of RPN?

Ok, thanks..I'll try to convert my thinking!

Sarge
Back to top
   VB Decompiler Forum Index -> Pseudo Code Database 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