Menu

[r12]: / trunk / SWFInvestigator / src / decompiler / swfdump / debug / DebugTable.as  Maximize  Restore  History

Download this file

78 lines (66 with data), 1.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2003-2006 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////
package decompiler.swfdump.debug
{
import decompiler.swfdump.DebugHandler;
import decompiler.swfdump.DebugTags;
import decompiler.swfdump.debug.LineRecord;
import decompiler.swfdump.debug.RegisterRecord;
import decompiler.swfdump.debug.DebugModule;
import decompiler.swfdump.types.FlashUUID;
import decompiler.swfdump.util.IntMap;
public class DebugTable extends DebugTags
implements DebugHandler
{
public var fUUID:FlashUUID;
public var version:int;
public var lines:IntMap;
public var regs:IntMap;
public function DebugTable()
{
this.lines = new IntMap();
this.regs = new IntMap();
}
public function breakpoint(offset:int):void
{
}
public function header(version:int):void
{
this.version = version;
}
public function uuid(id:FlashUUID):void
{
this.fUUID = id;
}
public function module(dm:DebugModule):void
{
}
public function offset(offset:int, lr:LineRecord):void
{
lines.put(offset, lr);
}
public function registers(offset:int, r:RegisterRecord):void
{
this.regs.put(offset, r);
}
public function getLine(offset:int):LineRecord
{
return (lines.get(offset) as LineRecord);
}
public function getRegisters(offset:int):RegisterRecord
{
return (regs.get(offset) as RegisterRecord);
}
public function error(msg:String):void
{
}
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.