]> git.siccegge.de Git - frida/frida.git/commitdiff
Add new files missing from previous few commits
authorChristoph Egger <Christoph.Egger@fau.de>
Wed, 18 Mar 2015 13:59:14 +0000 (14:59 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Wed, 18 Mar 2015 13:59:14 +0000 (14:59 +0100)
src/Config.hxx.in [new file with mode: 0644]
src/core/Comment.cxx [new file with mode: 0644]
src/core/events/NewFunctionEvent.hxx [new file with mode: 0644]

diff --git a/src/Config.hxx.in b/src/Config.hxx.in
new file mode 100644 (file)
index 0000000..6ad3f49
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef INCLUDE__Config_hxx_
+#define INCLUDE__Config_hxx_
+
+#cmakedefine CMAKE_INSTALL_FULL_LIBDIR "@CMAKE_INSTALL_FULL_LIBDIR@"
+
+#endif /* INCLUDE__Config_hxx_ */
diff --git a/src/core/Comment.cxx b/src/core/Comment.cxx
new file mode 100644 (file)
index 0000000..0cb804c
--- /dev/null
@@ -0,0 +1,20 @@
+#include "Comment.hxx"
+#include "Function.hxx"
+
+Comment::Comment(uint64_t address, InformationManager* manager)
+       : address(address)
+       , location(NULL)
+       , manager(manager) {}
+
+Comment::Comment(uint64_t address, Function* location, InformationManager* manager)
+       : address(address)
+       , location(location)
+       , manager(manager) {}
+
+void Comment::setText(const std::string& text) {
+       this->text = text;
+}
+
+uint64_t Comment::getAddress() {
+       return address;
+}
diff --git a/src/core/events/NewFunctionEvent.hxx b/src/core/events/NewFunctionEvent.hxx
new file mode 100644 (file)
index 0000000..f6d477c
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef INCLUDE__NewFunctionEvent_hxx_
+#define INCLUDE__NewFunctionEvent_hxx_
+
+#include <string>
+
+class Function;
+
+class NewFunctionEvent {
+public:
+       NewFunctionEvent(uint64_t address, Function* function)
+               : address(address), function(function) {}
+
+       uint64_t address;
+       Function* function;
+};
+
+#endif /* INCLUDE__NewFunctionEvent_hxx_ */