Fix up interface versioning issues.

Unfortunately one interface change was missed, getting the versions
slightly out of alignment.  Due to the 2.1 schema already being
published, the best course of action was to move to version 4.0.

This means that there's a tiny chance some schemas exist somewhere in
the world with a non-existant 3.0.0 schema.  Volatility will fail with
an error saying they're not supported.  5:S  Sorry!
This commit is contained in:
Mike Auty
2017-04-29 15:02:43 +01:00
parent 9ed403a463
commit 029f6eca52
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -342,9 +342,9 @@ class Version2Format(Version1Format):
members = members)
class Version2_1Format(Version2Format):
class Version3Format(Version2Format):
"""Class for storing intermediate debugging data as objects and classes"""
current = 2
current = 3
revision = 0
age = 1
version = (current - age, age, revision)
@@ -360,9 +360,9 @@ class Version2_1Format(Version2Format):
return interfaces.symbols.Symbol(name = name, address = symbol['address'], type = symbol_type)
class Version3_0Format(Version2_1Format):
"""Class for stroing intermediate debugging data as objects and classes"""
current = 3
class Version4Format(Version3Format):
"""Class for storing intermediate debugging data as objects and classes"""
current = 4
revision = 0
age = 0
version = (current - age, age, revision)
@@ -9,7 +9,7 @@
"properties": {
"format": {
"type": "string",
"pattern": "^3.[0-9]+.[0-9]+$"
"pattern": "^4.[0-9]+.[0-9]+$"
},
"source": {
"type": "object",