Add in some TODOs, and swap to the File layer for testing.

This commit is contained in:
Mike Auty
2013-05-07 23:44:40 +01:00
parent eb35ffb325
commit 3790ca03e1
3 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -42,14 +42,15 @@ def test_memory():
ctx = framework.Context(nativelst)
ctx.symbol_space.append(ntkrnlmp)
base = layers.physical.BufferDataLayer(ctx, 'data', buffer = b"\x04\x00\x00\x00\x01\x02\x03\x04\x02\x00")
base = layers.physical.FileLayer(ctx, 'data', filename = 'trig_data.bin')
ctx.memory.add_layer(base)
val = ctx.object('ntkrnlmp!TEST_POINTER', 'data', 0)
print(hex(val.point1.test1), val.point1.test2)
# TODO:
#
# Plugins - Tree/List input/output
# Config system
# Plugins - Dataout Tree/List input/output
# Architectures
# Scanning Framework
# GUI/UI
BIN
View File
Binary file not shown.
@@ -13,6 +13,8 @@ class SymbolTableInterface(validity.ValidityRoutines):
self.name = self.type_check(name or None, str)
self._native_symbols = self.type_check(native_symbols, NativeTableInterface)
#TODO: Add in support for constants
### Required Symbol List functions
def resolve(self, symbol):