Examples of ELF


Examples of Character.Races.RInstances.Elf

        teamJ2 = 3;
      // Creation de la partie en fonction des choix des equipes
      Race race1 = null, race2 = null;
      switch (teamJ1) {
      case 0:
        race1 = new Elf();
        break;
      case 1:
        race1 = new Human();
        break;
      case 2:
        race1 = new Undead();
        break;
      case 3:
        race1 = new Orc();
        break;
      default:
        System.err.println("Error choosing race from Player 1");
        System.exit(1);
      }
      switch (teamJ2) {
      case 0:
        race2 = new Elf();
        break;
      case 1:
        race2 = new Human();
        break;
      case 2:
View Full Code Here

Examples of org.jnode.linker.Elf

     * @param os
     * @throws BuildException
     */
    protected void copyKernel(NativeStream os) throws BuildException {
        try {
            Elf elf = Elf.newFromFile(getKernelFile().getCanonicalPath());
            // elf.print();
            new ElfLinker((X86BinaryAssembler) os).loadElfObject(elf);
        } catch (IOException ex) {
            throw new BuildException(ex);
        }
View Full Code Here

Examples of se.sics.mspsim.util.ELF

    return executeCLICommand("stacktrace");
  }

  public String getPCString() {
    int pc = myCpu.getPC();
    ELF elf = myCpu.getRegistry().getComponent(ELF.class);
    DebugInfo di = elf.getDebugInfo(pc);

    /* Following code examples from MSPsim, DebugCommands.java */
    if (di == null) {
      di = elf.getDebugInfo(pc + 1);
    }
    if (di == null) {
      /* Return PC value */
      SimpleProfiler sp = (SimpleProfiler)myCpu.getProfiler();
      try {
View Full Code Here

Examples of se.sics.mspsim.util.ELF

       * > cat TMP | msp430-addr2line -p -a -s -e hello-world.sky > cmp.addr2line
       * > rm TMP
       *
       * > diff -y --suppress-common-lines cmp.addr2line cmp.dwarfmspsim */

      ELF elf = ELF.readELF(args[0]);
      DwarfReader dwarfReader = new DwarfReader(elf);
      dwarfReader.read();
      if (args.length > 1) {
        int address = Integer.parseInt(args[1], 16);
        DebugInfo debugInfo = dwarfReader.getDebugInfo(address);
View Full Code Here

Examples of se.sics.mspsim.util.ELF

    int read;
    while ((read = inputStream.read(firmwareData)) != -1) {
      byteStream.write(firmwareData, 0, read);
    }
    inputStream.close();
    ELF elf = new ELF(byteStream.toByteArray());
    elf.readAll();
    return loadFirmware(elf, memory);
  }
View Full Code Here

Examples of se.sics.mspsim.util.ELF

    return executeCLICommand("stacktrace");
  }

  public String getPCString() {
    int pc = myCpu.getPC();
    ELF elf = myCpu.getRegistry().getComponent(ELF.class);
    DebugInfo di = elf.getDebugInfo(pc);

    /* Following code examples from MSPsim, DebugCommands.java */
    if (di == null) {
      di = elf.getDebugInfo(pc + 1);
    }
    if (di == null) {
      /* Return PC value */
      SimpleProfiler sp = (SimpleProfiler)myCpu.getProfiler();
      try {
View Full Code Here

Examples of se.sics.mspsim.util.ELF

    return executeCLICommand("stacktrace");
  }

  public String getPCString() {
    int pc = myCpu.getPC();
    ELF elf = myCpu.getRegistry().getComponent(ELF.class);
    DebugInfo di = elf.getDebugInfo(pc);

    /* Following code examples from MSPsim, DebugCommands.java */
    if (di == null) {
      di = elf.getDebugInfo(pc + 1);
    }
    if (di == null) {
      /* Return PC value */
      SimpleProfiler sp = (SimpleProfiler)myCpu.getProfiler();
      try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.