mirror of
https://github.com/volatilityfoundation/volatility
synced 2026-06-08 18:04:46 +00:00
27 lines
721 B
Python
27 lines
721 B
Python
__author__ = 'mike'
|
|
|
|
|
|
class Address(long):
|
|
"""Integer class to allow renderers to differentiate between addresses and numbers"""
|
|
def __new__(cls, number):
|
|
return long.__new__(cls, number)
|
|
|
|
|
|
class Address64(long):
|
|
"""Integer class to allow renderers to differentiate between addresses and numbers"""
|
|
|
|
def __new__(cls, number):
|
|
return long.__new__(cls, number)
|
|
|
|
|
|
class Hex(long):
|
|
"""Integer class to allow renderers to differentiate between addresses and numbers"""
|
|
|
|
def __new__(cls, number):
|
|
return long.__new__(cls, number)
|
|
|
|
|
|
class Renderer(object):
|
|
def render(self, outfd, grid):
|
|
"""Renders the content, ideally to outfd, but this is not strictly necessary"""
|