mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 18:27:39 +02:00
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:
@@ -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",
|
||||
Reference in New Issue
Block a user