Skip to content
Snippets Groups Projects
  1. May 08, 2022
  2. May 04, 2022
    • Jason Hiser's avatar
      Update to fix calls for exception handling. · be161585
      Jason Hiser authored
      Fixed calls break exception handling, and largely aren't needed anymore.
      We were still "fixing" calls when it had no fallthrough instruction,
      assuming the call is used for something else.  Except that sometimes a
      "call _cxa_throw" ends a function/section and legitimately has no
      fallthrough.  And this breaks the exception handling.
      
      Testing this fix against the Zipr test suite to verify that it is OK
      on a large suite of programs.
      be161585
    • Jason Hiser's avatar
      Cleanup for new compiler · 3c6c3810
      Jason Hiser authored
      3c6c3810
  3. May 02, 2022
  4. May 01, 2022
  5. Apr 27, 2022
  6. Apr 25, 2022
  7. Apr 22, 2022
  8. Apr 21, 2022
  9. Apr 16, 2022
  10. Jan 15, 2022
  11. Jan 10, 2022
  12. Jan 08, 2022
  13. Dec 31, 2021
  14. Dec 29, 2021
  15. Dec 27, 2021
  16. Dec 23, 2021
    • Jason Hiser's avatar
      Update gap-filling algorithm in zipr-be to skip R-X segments · 6343468c
      Jason Hiser authored
      Only gap-fill for original-style scoops (that is, pure-data).  R/X
      scoops are added for switch tables, but may overlap because the
      switch detector may make multiple guesses at ground truth.  The gap
      filling algorithm wasn't expecting this, so skip these scoops as
      they shouldn't result in gap-filling anyhow.
      6343468c
  17. Dec 20, 2021
  18. Dec 19, 2021
  19. Dec 09, 2021
  20. Nov 30, 2021
  21. Nov 28, 2021
    • Jason Hiser's avatar
      Merge branch 'unpin_x86pic64_switch_tables' into 'master' · 34c5c64e
      Jason Hiser authored
      Work through issues discovered in GT benchmark suite.
      
      See merge request !16
      34c5c64e
    • Jason Hiser's avatar
      Work through issues discovered in GT benchmark suite. · 5fc3e51a
      Jason Hiser authored
      * Update 68-sled code to be keystone friendly
      * Corrected spelling of getInstruction.  removed extraneous assert.
      * Disable should-pin-immediately because it interfers with sleds.
      * Remove assert from fix-calls about odd prefixing, just dont fix the call.  More of an issue with FII doing disassembly
      * Update switch->code discovery path to only happen if switch table is in text segment
      * fixed FII to do what the last commit said -- only disassembly when TABLE is in text.  also patched zipr to handle xbegin gracefully.
      * Disable verbose setting
      * Create lots of dbs instead of just a few
      5fc3e51a
  22. Nov 22, 2021
  23. Nov 21, 2021
  24. Nov 17, 2021
    • Jason Hiser's avatar
      Fixed issue with FII finding wrong cmp · c73569e8
      Jason Hiser authored
      Issue was related to intermediate set of the compare register.
      Leveraged backup_until's stopif argument to stop backup until sooner.
      
      Note: as indicated in code comment, single register/register move
      is common and could be used to improve accuracy.
      c73569e8
    • Jason Hiser's avatar
      Zipr/FII failure-to-tranform fixes · a86e408d
      Jason Hiser authored
      1) FII was finding the wrong cmp for switch tables.
      Removed the blind cmp and forced the cmp to use the proper
      register or not find a cmp.  Also changed the limit for a table
      size when no cmp is found from 2^32 to 255.
      
      2) Fixed an issue with zipr dollop layout where the size
      to layout 1 instruction + a trampoline was bigger than laying
      out two+ full dollops (because both dollops were short), but
      the dollops are disallowed from being coalesced.  The worst-size
      detector needed to account for non-coalescable dollops.
      a86e408d
Loading