1. 02 May, 2016 5 commits
  2. 30 Apr, 2016 1 commit
    • Aart Bik's avatar
      Fix infamous 0d0a bug on Windows by not opening file binary. · ca223dc3
      Aart Bik authored
      Rationale:
      On Windows, writing out 0a really writes out 0d0a in text mode.
      Thus, the file should be opened in binary. On Linux, this is
      a nop (in fact O_BINARY does not exist).
      
      BUG=28385192
      
      (cherry picked from commit 21a1b448)
      
      Change-Id: I906c610fdb2f43b1ef95eff2533a06af85de0850
      ca223dc3
  3. 29 Apr, 2016 4 commits
  4. 28 Apr, 2016 3 commits
  5. 27 Apr, 2016 1 commit
  6. 19 Apr, 2016 2 commits
  7. 15 Apr, 2016 2 commits
  8. 14 Apr, 2016 3 commits
  9. 12 Apr, 2016 3 commits
  10. 11 Apr, 2016 2 commits
    • Aart Bik's avatar
      Fix potential buffer overrun. · a6502897
      Aart Bik authored
      BUG=27840771
      
      Rationale:
      Fixed buffer overrun by recomputing available remaining space at each
      point. Note, we could use strlcat for exactly this situation, using the
      full buffer length, but since buffer length - 1 was used in other places,
      got the code closest to the original.
      
      Change-Id: Id38ba34949b7e25ae8acadce1c24e080aebf06ae
      a6502897
    • Aart Bik's avatar
      Bug fix for segfault on reading bytecode with dexdump. · 03a551d0
      Aart Bik authored
      Rationale:
      An incorrect type (signed vs. unsigned) compare did not guard
      subsequent access of memory correctly.
      
      BUG=28038148
      
      Change-Id: I7aa97ad252614e3d045297cce314b5a4b96a60b2
      03a551d0
  11. 31 Mar, 2016 5 commits
  12. 30 Mar, 2016 1 commit
    • Alex Light's avatar
      Support dex 37 for DexMerger · 3e7edcb6
      Alex Light authored
      Make DexMerger take the largest dex-file version that is given.
      
      Bug: 27538761
      Bug: 27809626
      
      Change-Id: Iddca99477f5edbfc7b9cf3b3deda37fd84e4eeda
      3e7edcb6
  13. 29 Mar, 2016 6 commits
  14. 03 Mar, 2016 2 commits
    • Kevin Bierhoff's avatar
      fix DexMerger\'s estimate for the merged classData section · ea239997
      Kevin Bierhoff authored
      am: c265adc1
      
      * commit 'c265adc1':
        fix DexMerger's estimate for the merged classData section
      ea239997
    • Kevin Bierhoff's avatar
      fix DexMerger's estimate for the merged classData section · c265adc1
      Kevin Bierhoff authored
      the new estimated growth factor of 1.67 is derived as follows:
      - classData section contains fields and methods
      - for each method, 3 ulebs are written, but one of them (modifiers) doesn't
        change as a result of merging
      - for each field, 2 ulebs are written, but one can again not change
      - thus in the worst case, the section only contains methods and every 2/3
        ulebs can grow
      
      (cherry picked from commit 89c573adfb3e9075b373e7ca324700e13971e918)
      
      Bug: 27368018
      
      Change-Id: I1dddc419592c8cd39d98c703840316d0ab65120c
      c265adc1