#include "CommandObjectMemory.h"
#include "CommandObjectMemoryTag.h"
#include "lldb/Core/DumpDataExtractor.h"
#include "lldb/Core/Section.h"
#include "lldb/Core/ValueObjectMemory.h"
#include "lldb/Expression/ExpressionVariable.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandOptionArgumentTable.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Interpreter/OptionGroupFormat.h"
#include "lldb/Interpreter/OptionGroupMemoryTag.h"
#include "lldb/Interpreter/OptionGroupOutputFile.h"
#include "lldb/Interpreter/OptionGroupValueObjectDisplay.h"
#include "lldb/Interpreter/OptionValueLanguage.h"
#include "lldb/Interpreter/OptionValueString.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Symbol/SymbolFile.h"
#include "lldb/Symbol/TypeList.h"
#include "lldb/Target/ABI.h"
#include "lldb/Target/Language.h"
#include "lldb/Target/MemoryHistory.h"
#include "lldb/Target/MemoryRegionInfo.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/Support/MathExtras.h"
#include <cinttypes>
#include <memory>
#include <optional>
usingnamespacelldb;
usingnamespacelldb_private;
#define LLDB_OPTIONS_memory_read
#include "CommandOptions.inc"
class OptionGroupReadMemory : public OptionGroup { … };
class CommandObjectMemoryRead : public CommandObjectParsed { … };
#define LLDB_OPTIONS_memory_find
#include "CommandOptions.inc"
class CommandObjectMemoryFind : public CommandObjectParsed { … };
#define LLDB_OPTIONS_memory_write
#include "CommandOptions.inc"
class CommandObjectMemoryWrite : public CommandObjectParsed { … };
class CommandObjectMemoryHistory : public CommandObjectParsed { … };
#pragma mark CommandObjectMemoryRegion
#define LLDB_OPTIONS_memory_region
#include "CommandOptions.inc"
class CommandObjectMemoryRegion : public CommandObjectParsed { … };
CommandObjectMemory::CommandObjectMemory(CommandInterpreter &interpreter)
: … { … }
CommandObjectMemory::~CommandObjectMemory() = default;