lldb::addr_t
DynamicLoaderDarwinKernel::SearchForKernelWithDebugHints (Process *process)
{
-#if 0
if (GetGlobalProperties()->GetScanType() == eKASLRScanNone)
return LLDB_INVALID_ADDRESS;
-#endif
Error read_err;
addr_t addr = LLDB_INVALID_ADDRESS;
lldb::addr_t
DynamicLoaderDarwinKernel::SearchForKernelNearPC (Process *process)
{
-#if 0
if (GetGlobalProperties()->GetScanType() == eKASLRScanNone
|| GetGlobalProperties()->GetScanType() == eKASLRScanLowgloAddresses)
{
return LLDB_INVALID_ADDRESS;
}
-#endif
ThreadSP thread = process->GetThreadList().GetSelectedThread ();
if (thread.get() == NULL)
lldb::addr_t
DynamicLoaderDarwinKernel::SearchForKernelViaExhaustiveSearch (Process *process)
{
-#if 0
if (GetGlobalProperties()->GetScanType() != eKASLRScanExhaustiveScan)
{
return LLDB_INVALID_ADDRESS;
}
-#endif
addr_t kernel_range_low, kernel_range_high;
if (process->GetTarget().GetArchitecture().GetAddressByteSize() == 8)