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

Method IsELFWithoutDynamicLoader

core/adapters/lldbadapter.cpp:137–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136
137bool LldbAdapter::IsELFWithoutDynamicLoader(BinaryView* data)
138{
139 if (!data)
140 return false;
141
142 auto name = data->GetTypeName();
143 if (name != "ELF")
144 return false;
145
146 auto syms = data->GetSymbolsByName("__elf_interp");
147 return syms.empty();
148}
149
150
151bool LldbAdapter::Execute(const std::string& path, const LaunchConfigurations& configs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected