X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FFunction.hxx;h=75b38c2cd34877fe0349b80eae21b5dc57976fbb;hp=5497800969e57b8f12a2a2c8e24bdaf20688c675;hb=9f53c415cf1554e2d9cc040d3d646ec22fe281f6;hpb=0daf9a157f3d41690cf4a0287db1adecc4ad0b71 diff --git a/src/core/Function.hxx b/src/core/Function.hxx index 5497800..75b38c2 100644 --- a/src/core/Function.hxx +++ b/src/core/Function.hxx @@ -5,10 +5,10 @@ #include "BasicBlock.hxx" class InformationManager; +class QXmlStreamWriter; class Function { public: - uint64_t getStartAddress() const { return start_address; } @@ -28,6 +28,10 @@ public: const std::map& blocks() { return _blocks; } + + void serialize(QXmlStreamWriter& stream); + static Function* deserialize(QXmlStreamReader& stream, InformationManager* manager); + private: Function(uint64_t start_address, InformationManager* manager);