draperlaboratory / fracture

an architecture-independent decompiler to LLVM IR
Other
385 stars 47 forks source link

TODO: getloadName may fail, how to resolve? #29

Open skintigh opened 10 years ago

skintigh commented 10 years ago

./lib/CodeInv/Disassembler.cpp:29

    // TODO: getloadName may fail, how to resolve?
    TheModule = new Module(Executable->getLoadName(), *MC->getContext());
  } else {
    TheModule = NewModule;
  }
  // Set current section to ".text"
  setSection(".text");
  // Initialize the MMI
  MMI = new MachineModuleInfo(*MC->getMCAsmInfo(), *MC->getMCRegisterInfo(),
    MC->getMCObjectFileInfo());
  // Initialize the GCMI