1. 20 Sep, 2012 1 commit
    • Andy McFadden's avatar
      Log when the native trace is unavailable · c32a3774
      Andy McFadden authored
      This should allow us to differentiate between "couldn't get the
      stack" and "didn't try to get the stack".  Also show the thread's
      state (e.g. 'R' for running, 'D' for uninterruptible syscall).
      
      Bug 7053953
      
      (cherry-pick of b3667a19.)
      
      Change-Id: I0a40cb3d3cdd9aef8589a39586cccd9c229aa8cb
      c32a3774
  2. 17 Sep, 2012 2 commits
  3. 14 Sep, 2012 2 commits
  4. 05 Sep, 2012 3 commits
  5. 01 Sep, 2012 2 commits
    • Jesse Wilson's avatar
      Fix a bug where the max blowup of annotations was incorrect. · bf7dfeea
      Jesse Wilson authored
      I'm not sure where the 1.34 number comes from but it's incorrect.
      From the spec, the encoded_annotation is made up of a single byte
      plus an unlimited number of uleb128 values. Each of these values
      can double in width in the worst case. I received (personal) email
      from one user who'd run into a case worse than the incorrect 1.34
      limit.
      
      Change-Id: I3b676e6d2b274aaa538ca61ce23945b3d49aff04
      bf7dfeea
    • Jesse Wilson's avatar
      Fix an ugly bug where try/catch offsets weren't being mapped properly. · d43341a2
      Jesse Wilson authored
      In dex files, there are several places where one object refers
      to another object by its position in the file. The dex merger
      is generally very careful to adjust these mappings when combining
      dex files.
      
      Unfortunately one of these cases was broken. Each try_item refers
      to a corresponding encoded_catch_handler by its byte offset in a
      list. Most of the time this byte offset is the same in the input
      dex file and the output dex file. But encoded_catch_handlers are
      variable-length because they use a variable-length uleb128 encoding
      to address the type_idx being caught. When dex files are merged,
      some exception types may go from having a small index to having
      a large index, increasing the number of bytes required to encode
      that index. This breaks our ability to directly copy over offsets
      as we were doing previously.
      
      Bug: http://code.google.com/p/android/issues/detail?id=36490
      Change-Id: I3bdadf20899fdb5d4d074e69103b33c0404a31f8
      d43341a2
  6. 29 Aug, 2012 3 commits
  7. 28 Aug, 2012 1 commit
  8. 27 Aug, 2012 1 commit
  9. 24 Aug, 2012 3 commits
  10. 23 Aug, 2012 5 commits
  11. 20 Aug, 2012 2 commits
  12. 13 Aug, 2012 1 commit
  13. 11 Aug, 2012 1 commit
    • Ard Biesheuvel's avatar
      hardening: eliminate all text relocations from lidbvm · 5dfcc78a
      Ard Biesheuvel authored
      
      This patch consists of:
      - changes to mterp/ that turn all literals from absolute
        to PC relative, so the relocations can be resolved at
        (build) link time
      - changes to compiler/template/ that result in the
        compiler templates to live in the non-executable
        .data.rel.ro section (this code is never executed
        directly, only from the jit heap, so there is no
        reason to put it in the .text section)
      
      Change-Id: I2dc97bd4720b393a74b7277a188f0c7b681fc932
      Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@gmail.com>
      5dfcc78a
  14. 07 Aug, 2012 2 commits
  15. 06 Aug, 2012 4 commits
  16. 03 Aug, 2012 2 commits
  17. 01 Aug, 2012 2 commits
  18. 31 Jul, 2012 2 commits
  19. 24 Jul, 2012 1 commit