From: kramm Date: Fri, 2 Jan 2009 19:46:37 +0000 (+0000) Subject: dump out a method id for opcodes with a method index X-Git-Tag: release-0-9-0~480 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=35b692b1792f584c2b8d69cbbefa7794e3619f86;p=swftools.git dump out a method id for opcodes with a method index --- diff --git a/lib/as3/code.c b/lib/as3/code.c index 2374392..9fce3a8 100644 --- a/lib/as3/code.c +++ b/lib/as3/code.c @@ -911,7 +911,7 @@ int code_dump(code_t*c, abc_exception_list_t*exceptions, abc_file_t*file, char*p free(m); } else if(*p == 'm') { abc_method_t*m = (abc_method_t*)data; - fprintf(fo, "[method %s]", m->name); + fprintf(fo, "[method %08x %s]", m, m->name); } else if(*p == 'c') { abc_class_t*cls = (abc_class_t*)data; char*classname = multiname_tostring(cls->classname);