X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FFunction.hxx;h=5497800969e57b8f12a2a2c8e24bdaf20688c675;hp=b57dca2706edd31df2b31798c18d5ebedf301017;hb=0daf9a157f3d41690cf4a0287db1adecc4ad0b71;hpb=1c0f4550bed81773ad34d190508bd49616264a38 diff --git a/src/core/Function.hxx b/src/core/Function.hxx index b57dca2..5497800 100644 --- a/src/core/Function.hxx +++ b/src/core/Function.hxx @@ -8,7 +8,6 @@ class InformationManager; class Function { public: - Function(const std::string& name, uint64_t start_address, InformationManager* manager); uint64_t getStartAddress() const { return start_address; @@ -30,10 +29,14 @@ public: return _blocks; } private: + Function(uint64_t start_address, InformationManager* manager); + std::string name; uint64_t start_address; InformationManager * manager; std::map _blocks; + + friend class InformationManager; }; #endif