aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Events
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-02-25 22:14:58 -0300
committergdkchan <gab.dark.100@gmail.com>2018-02-25 22:14:58 -0300
commit950011c90fe28fe9edd8ebe0d0a771f6adcff7a1 (patch)
tree407416f5ee2a157d06ce2fa267671b7e2d1e0946 /ChocolArm64/Events
parente174100474fcfe484cc8e93c4db447886096615d (diff)
Added initial support for function names from symbol table on the cpu with tracing, fix wrong ImageEnd on executables with MOD0, fix issue on the CPU on input elimination for instruction with more than one register store
Diffstat (limited to 'ChocolArm64/Events')
-rw-r--r--ChocolArm64/Events/ACpuTraceEventArgs.cs17
-rw-r--r--ChocolArm64/Events/AInstExceptionEventArgs.cs14
-rw-r--r--ChocolArm64/Events/AInstUndefinedEventArgs.cs16
3 files changed, 47 insertions, 0 deletions
diff --git a/ChocolArm64/Events/ACpuTraceEventArgs.cs b/ChocolArm64/Events/ACpuTraceEventArgs.cs
new file mode 100644
index 00000000..fedf3865
--- /dev/null
+++ b/ChocolArm64/Events/ACpuTraceEventArgs.cs
@@ -0,0 +1,17 @@
+using System;
+
+namespace ChocolArm64.Events
+{
+ public class ACpuTraceEventArgs : EventArgs
+ {
+ public long Position { get; private set; }
+
+ public string SubName { get; private set; }
+
+ public ACpuTraceEventArgs(long Position, string SubName)
+ {
+ this.Position = Position;
+ this.SubName = SubName;
+ }
+ }
+} \ No newline at end of file
diff --git a/ChocolArm64/Events/AInstExceptionEventArgs.cs b/ChocolArm64/Events/AInstExceptionEventArgs.cs
new file mode 100644
index 00000000..34f90c8e
--- /dev/null
+++ b/ChocolArm64/Events/AInstExceptionEventArgs.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace ChocolArm64.Events
+{
+ public class AInstExceptionEventArgs : EventArgs
+ {
+ public int Id { get; private set; }
+
+ public AInstExceptionEventArgs(int Id)
+ {
+ this.Id = Id;
+ }
+ }
+} \ No newline at end of file
diff --git a/ChocolArm64/Events/AInstUndefinedEventArgs.cs b/ChocolArm64/Events/AInstUndefinedEventArgs.cs
new file mode 100644
index 00000000..cdc1728b
--- /dev/null
+++ b/ChocolArm64/Events/AInstUndefinedEventArgs.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace ChocolArm64.Events
+{
+ public class AInstUndefinedEventArgs : EventArgs
+ {
+ public long Position { get; private set; }
+ public int RawOpCode { get; private set; }
+
+ public AInstUndefinedEventArgs(long Position, int RawOpCode)
+ {
+ this.Position = Position;
+ this.RawOpCode = RawOpCode;
+ }
+ }
+} \ No newline at end of file