MCPcopy Create free account
hub / github.com/Vector35/debugger / LldbAdapter

Method LldbAdapter

core/adapters/lldbadapter.cpp:40–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40LldbAdapter::LldbAdapter(BinaryView* data) : DebugAdapter(data)
41{
42 m_targetActive = false;
43 SBDebugger::Initialize();
44 m_debugger = SBDebugger::Create();
45 if (!m_debugger.IsValid())
46 LogWarn("Invalid debugger");
47
48 m_isElFWithoutDynamicLoader = IsELFWithoutDynamicLoader(data);
49
50 // Set auto-confirm to true so operations that ask for confirmation will proceed automatically.
51 // Otherwise, the confirmation prompt will be sent to the terminal that BN is launched from, which is a very
52 // confusing behavior.
53 InvokeBackendCommand("settings set auto-confirm true");
54 m_debugger.SetAsync(false);
55}
56
57
58LldbAdapter::~LldbAdapter()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected