private static unsafe Addr GetEntryPointFromElf(ElfSections elf, string symbolName) { var sym = elf.GetSymbol(symbolName); if (sym == (ElfSymbol *)0) { return(Addr.Zero); } return(sym->Value); }
private static unsafe Addr GetEntryPointFromElf(ElfSections elf) { var sym = elf.GetSymbol(DispatchMessageSymbol); if (sym == (ElfSymbol *)0) { return(Addr.Zero); } return(sym->Value); }
private static unsafe Addr GetEntryPointFromElf(ElfSections elf) { var symName = "Abanu.Kernel.Program::Main()"; // TODO var sym = elf.GetSymbol(symName); if (sym == (ElfSymbol *)0) { return(Addr.Zero); } return(sym->Value); }