Module info in json.

This commit is contained in:
Ben Vanik
2013-12-24 17:25:29 -08:00
parent c45f573472
commit dcd9f8b6ff
7 changed files with 339 additions and 125 deletions

View File

@@ -22,6 +22,7 @@ XEDECLARECLASS1(xe, ExportResolver);
XEDECLARECLASS2(xe, cpu, XenonMemory);
XEDECLARECLASS2(xe, cpu, XenonRuntime);
XEDECLARECLASS2(xe, cpu, XenonThreadState);
XEDECLARECLASS2(xe, cpu, XexModule);
namespace xe {
@@ -63,6 +64,10 @@ public:
uint32_t client_id, const char* command, json_t* request,
bool& succeeded);
private:
json_t* DumpModule(XexModule* module, bool& succeeded);
json_t* DumpFunction(uint64_t address, bool& succeeded);
private:
Emulator* emulator_;
ExportResolver* export_resolver_;