Skip to content
  1. Mar 08, 2011
    • Jim Ingham's avatar
      Add a method "GetEntryPoint" to the ObjectFile class, and implement it on... · 672e6f59
      Jim Ingham authored
      Add a method "GetEntryPoint" to the ObjectFile class, and implement it on MachO & ELF - though the ELF implementation is probably a little weak.  Then use this method in place of directly looking for "start" in the ThreadPlanCallFunction constructor to find the stopping point for our function evaluation.
      
      llvm-svn: 127194
      672e6f59
    • Caroline Tice's avatar
      · 6258c53e
      Caroline Tice authored
      Add thread state initialization to the thread where the interactive
      interpreter is run (which is separate from the thread where
      Py_Initialize is called, where this normally gets set up).
      
      llvm-svn: 127191
      6258c53e
  2. Mar 07, 2011
  3. Mar 05, 2011
  4. Mar 04, 2011
  5. Mar 03, 2011
    • Caroline Tice's avatar
      · 94f87e37
      Caroline Tice authored
      Add code to emulate RFE Arm instruction.
      
      Add new instruction context for RFE instruction.
      
      Add several new helper functions to help emulate RFE instruction
      (including CurrentModeIsPrivileged, BadMode, and CPSRWriteByInstr).
      
      llvm-svn: 126965
      94f87e37
    • Caroline Tice's avatar
      · c8d0d3ae
      Caroline Tice authored
      Add code to emulate UXTH Arm instruction.
      
      llvm-svn: 126954
      c8d0d3ae
    • Caroline Tice's avatar
      · 9c35f321
      Caroline Tice authored
      Add code to emulate UXTB Arm instruction.
      
      llvm-svn: 126953
      9c35f321
    • Caroline Tice's avatar
      · 8678f2a1
      Caroline Tice authored
      Add code to emulate SXTH Arm instruction.
      
      llvm-svn: 126951
      8678f2a1
    • Caroline Tice's avatar
      · 67735bf0
      Caroline Tice authored
      Add code to emulate SXTB Arm instruction.
      
      llvm-svn: 126949
      67735bf0
    • Caroline Tice's avatar
      · edc103e2
      Caroline Tice authored
      Fix bug where bitwise-AND was being used and it should have been bitwise-OR.
      
      llvm-svn: 126904
      edc103e2
    • Caroline Tice's avatar
      · 30f40c68
      Caroline Tice authored
      Add code to emulate ADD (immediate, Thumb) Arm instruction.
      
      Add addition context to EmulateInstruction contexts.
      
      llvm-svn: 126903
      30f40c68
    • Greg Clayton's avatar
      Export the ability to get the start and end addresses for functions · 93d00df5
      Greg Clayton authored
      and symbols, and also allow clients to get the prologue size in bytes:
      
          SBAddress
          SBFunction::GetStartAddress ();
          
          SBAddress
          SBFunction::GetEndAddress ();
          
          uint32_t
          SBFunction::GetPrologueByteSize ();
      
          SBAddress
          SBSymbol::GetStartAddress ();
          
          SBAddress
          SBSymbol::GetEndAddress ();
          
          uint32_t
          SBSymbol::GetPrologueByteSize ();
      
      llvm-svn: 126892
      93d00df5
  6. Mar 02, 2011
    • Caroline Tice's avatar
      · 1a234ff4
      Caroline Tice authored
      Add code to emulate MUL Arm instruction.
      
      Add new context type & info structure for  mul instruction.
      
      llvm-svn: 126891
      1a234ff4
    • Greg Clayton's avatar
      Added a missing API call in SBTarget that enables one to get · 5f2a4f99
      Greg Clayton authored
      anything in a SBSymbolContext filled in given an SBAddress:
      
      SBSymbolContext
      SBTarget::ResolveSymbolContextForAddress (const SBAddress& addr, uint32_t resolve_scope);
      
      Also did a little cleanup on the ProcessGDBRemote stdio file handle
      code.
      
      llvm-svn: 126885
      5f2a4f99
    • Caroline Tice's avatar
      · a0d3b675
      Caroline Tice authored
      Add code to emulate LDRSH (register) Arm instruction.
      
      llvm-svn: 126881
      a0d3b675
    • Caroline Tice's avatar
      · 1cd4459b
      Caroline Tice authored
      Add code to emulate LDRSH (literal) Arm instruction.
      
      llvm-svn: 126866
      1cd4459b
    • Caroline Tice's avatar
      · d3e57ee4
      Caroline Tice authored
      Add code to emulate LDRSH (immediate) Arm instruction.
      
      llvm-svn: 126807
      d3e57ee4
    • Caroline Tice's avatar
      · 4776fbbd
      Caroline Tice authored
      Add code to emulate LDRSB (register) Arm instruction.
      
      llvm-svn: 126802
      4776fbbd
  7. Mar 01, 2011
    • Johnny Chen's avatar
      Add an API SBProcess::GetByteOrder() and add test cases which utilizes GetByteOrder(), · cf386e24
      Johnny Chen authored
      among other SBProcess APIs, to write (int)256 into a memory location of a global variable
      (int)my_int and reads/checks the variable afterwards.
      
      llvm-svn: 126792
      cf386e24
    • Caroline Tice's avatar
      · 4947ffc8
      Caroline Tice authored
      Add code to emulate LDRSB (literal) Arm instruction.
      
      llvm-svn: 126789
      4947ffc8
    • Caroline Tice's avatar
      · 28c3fccc
      Caroline Tice authored
      Add code to emulate LDRSB (immediate) Arm instruction.
      
      llvm-svn: 126783
      28c3fccc
    • Caroline Tice's avatar
      · 4f0e5f88
      Caroline Tice authored
      Add code to emulate LDRH (register) Arm instruction.
      
      llvm-svn: 126758
      4f0e5f88
    • Caroline Tice's avatar
      · 6261d240
      Caroline Tice authored
      Add code to emulate LDRH (literal) Arm instruction.
      
      llvm-svn: 126709
      6261d240
  8. Feb 28, 2011
    • Stephen Wilson's avatar
      · bbb7e06a
      Stephen Wilson authored
      Add register context for i386 on Linux.
      
      Patch by Marco Minutoli!
      
      llvm-svn: 126696
      bbb7e06a
    • Caroline Tice's avatar
      · adef8fb0
      Caroline Tice authored
      Add code to emulate LDRH (immediate, Thumb) arm instruction.
      
      llvm-svn: 126692
      adef8fb0
  9. Feb 25, 2011
  10. Feb 24, 2011
Loading