git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
02368eb
)
corrected some errors in the op table
author
kramm
<kramm>
Tue, 30 Oct 2001 07:20:18 +0000
(07:20 +0000)
committer
kramm
<kramm>
Tue, 30 Oct 2001 07:20:18 +0000
(07:20 +0000)
src/swfdump.c
patch
|
blob
|
history
diff --git
a/src/swfdump.c
b/src/swfdump.c
index
1d2f731
..
ec344ff
100644
(file)
--- a/
src/swfdump.c
+++ b/
src/swfdump.c
@@
-78,7
+78,7
@@
int args_callback_command(char*name,char*val)
\r
struct Action
\r
{
\r
\r
struct Action
\r
{
\r
- int flashversion;
\r
+ int version;
\r
char*name;
\r
U8 op;
\r
char*flags;
\r
char*name;
\r
U8 op;
\r
char*flags;
\r
@@
-137,7
+137,7
@@
r: register (byte)
{4,"MBCharToAscii", 0x36, ""}, // -1, +1
\r
{4,"MBAsciiToChar", 0x37, ""}, // -1, +1
\r
{4,"Jump", 0x99, "b"},
\r
{4,"MBCharToAscii", 0x36, ""}, // -1, +1
\r
{4,"MBAsciiToChar", 0x37, ""}, // -1, +1
\r
{4,"Jump", 0x99, "b"},
\r
-{4,"If", 0x9a, "b"}, // -1
\r
+{4,"If", 0x9d, "b"}, // -1
\r
{4,"Call", 0x9e, ""}, //-1 (frame label/number)
\r
{4,"GetVariable", 0x1c,""}, // -1, +1
\r
{4,"SetVariable", 0x1d,""}, // -2
\r
{4,"Call", 0x9e, ""}, //-1 (frame label/number)
\r
{4,"GetVariable", 0x1c,""}, // -1, +1
\r
{4,"SetVariable", 0x1d,""}, // -2
\r
@@
-161,7
+161,7
@@
r: register (byte)
{5,"Decrement", 0x51,""},
\r
{5,"Increment", 0x50,""},
\r
{5,"PushDuplicate", 0x4c,""},
\r
{5,"Decrement", 0x51,""},
\r
{5,"Increment", 0x50,""},
\r
{5,"PushDuplicate", 0x4c,""},
\r
-{5,"StackSwap", 0x4d,""},
\r
+{5,"StackSwap", 0x4d,""}, //?
\r
{5,"StoreRegister", 0x87,"r"},
\r
{5,"CallFunction", 0x3d,""},
\r
{5,"DefineFunction", 0x9b, "{"},
\r
{5,"StoreRegister", 0x87,"r"},
\r
{5,"CallFunction", 0x3d,""},
\r
{5,"DefineFunction", 0x9b, "{"},
\r
@@
-172,25
+172,26
@@
r: register (byte)
{5,"Constantpool", 0x88, "c"},
\r
{5,"DefineLocal", 0x3c,""},
\r
{5,"DefineLocal2", 0x41,""},
\r
{5,"Constantpool", 0x88, "c"},
\r
{5,"DefineLocal", 0x3c,""},
\r
{5,"DefineLocal2", 0x41,""},
\r
-{5,"Delete", 0x3a,""},
\r
+{5,"Makehash", 0x43, ""}, //??
\r
+{5,"Delete", 0x3a,""}, //?
\r
{5,"Delete2", 0x3b,""},
\r
{5,"Enumerate", 0x46,""},
\r
{5,"Equals2", 0x49,""},
\r
{5,"InitArray", 0x42,""}, // InitObject?
\r
{5,"Delete2", 0x3b,""},
\r
{5,"Enumerate", 0x46,""},
\r
{5,"Equals2", 0x49,""},
\r
{5,"InitArray", 0x42,""}, // InitObject?
\r
-{5,"NewMethod", 0x53,""},
\r
+{5,"NewMethod", 0x53,""}, //?
\r
{5,"NewObject", 0x40,""},
\r
{5,"NewObject", 0x40,""},
\r
-{5,"TargetPath", 0x45,""},
\r
+{5,"TargetPath", 0x45,""}, //?
\r
{5,"With", 0x94, "o"},
\r
{5,"With", 0x94, "o"},
\r
-{5,"ToNumber", 0x4a,""},
\r
-{5,"ToString", 0x4b,""},
\r
+{5,"ToNumber", 0x4a,""}, //?
\r
+{5,"ToString", 0x4b,""}, //?
\r
{5,"TypeOf", 0x44,""},
\r
{5,"Add2", 0x47,""},
\r
{5,"TypeOf", 0x44,""},
\r
{5,"Add2", 0x47,""},
\r
-{5,"Less2", 0x48,""},
\r
-
\r
-{5,"???", 0x9d, ""}
\r
+{5,"Less2", 0x48,""}
\r
};
\r
};
\r
+
\r
int definedactions = sizeof(actions)/sizeof(struct Action);
\r
\r
int definedactions = sizeof(actions)/sizeof(struct Action);
\r
\r
+
\r
struct _ActionTAG {
\r
U8 op;
\r
U16 len;
\r
struct _ActionTAG {
\r
U8 op;
\r
U16 len;
\r