Initial commit: managed .NET 10 AVEVA Historian SDK + reverse-engineering toolkit
Full read-only SDK (src/AVEVA.Historian.Client) implementing the CLAUDE.md required
surface against AVEVA Historian's binary WCF protocol — no native AVEVA runtime
dependency. All operations live-verified against a local Historian:
- ProbeAsync, ReadRawAsync, ReadAggregateAsync, ReadAtTimeAsync, ReadEventsAsync
- BrowseTagNamesAsync, GetTagMetadataAsync (17 native data-type codes mapped)
- GetConnectionStatusAsync, GetStoreForwardStatusAsync, GetSystemParameterAsync
- 108/108 unit + integration tests pass
Includes the reverse-engineering toolkit (tools/AVEVA.Historian.ReverseEngineering)
used to decode the protocol: WCF probes, IL inspection via dnlib, and IL-rewrite
instrumentation (instrument-wcf-{write,read}message etc.) plus the .NET Framework
trace harness (tools/AVEVA.Historian.NativeTraceHarness) for parity testing.
Sanitized handoff evidence under docs/reverse-engineering/. Native AVEVA binaries
(current/, aveva-install-x64/, aveva-install-x86/) are gitignored — fetch separately
from the AVEVA installer.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"Path": "C:\\Users\\dohertj2\\Desktop\\histsdk\\current\\aahClientManaged.dll",
|
||||
"Filter": "0x0600100D",
|
||||
"IsILOnly": false,
|
||||
"IsMixedMode": true,
|
||||
"Methods": [
|
||||
{
|
||||
"DeclaringType": "\u003CModule\u003E",
|
||||
"Name": {
|
||||
"String": "SByteStream\u003CSCrtMemFile\u003E.GetData",
|
||||
"Data": "U0J5dGVTdHJlYW08U0NydE1lbUZpbGU+LkdldERhdGE=",
|
||||
"Length": 32,
|
||||
"DataLength": 32
|
||||
},
|
||||
"Token": "0x0600100D",
|
||||
"Rva": "0x0005FDF8",
|
||||
"IsStatic": true,
|
||||
"IsPublic": false,
|
||||
"HasBody": true,
|
||||
"InstructionCount": 10,
|
||||
"Locals": [],
|
||||
"Calls": [
|
||||
{
|
||||
"Offset": "0x0009",
|
||||
"OpCode": "calli",
|
||||
"Operand": "System.Byte modopt(System.Runtime.CompilerServices.IsConst)* modopt(System.Runtime.CompilerServices.CallConvCdecl) (System.IntPtr)",
|
||||
"Token": null
|
||||
}
|
||||
],
|
||||
"Instructions": [
|
||||
{
|
||||
"Offset": "0x0000",
|
||||
"OpCode": "ldarg.0",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0001",
|
||||
"OpCode": "ldind.i8",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0002",
|
||||
"OpCode": "dup",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0003",
|
||||
"OpCode": "ldind.i8",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0004",
|
||||
"OpCode": "ldc.i4.s",
|
||||
"Operand": "120",
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0006",
|
||||
"OpCode": "conv.i8",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0007",
|
||||
"OpCode": "add",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0008",
|
||||
"OpCode": "ldind.i8",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x0009",
|
||||
"OpCode": "calli",
|
||||
"Operand": "System.Byte modopt(System.Runtime.CompilerServices.IsConst)* modopt(System.Runtime.CompilerServices.CallConvCdecl) (System.IntPtr)",
|
||||
"Token": null
|
||||
},
|
||||
{
|
||||
"Offset": "0x000E",
|
||||
"OpCode": "ret",
|
||||
"Operand": null,
|
||||
"Token": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user