- Dec 09, 2021
-
-
Jason Hiser authored
-
Jason Hiser authored
-
- Nov 30, 2021
-
- Nov 28, 2021
-
-
Jason Hiser authored
Work through issues discovered in GT benchmark suite. See merge request !16
-
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
-
- Nov 22, 2021
-
-
Jason Hiser authored
Update find-in-function method to be more vague about the leas it finds when precise-switch-statement finding is impossible
-
- Nov 21, 2021
-
-
Jason Hiser authored
-
- Nov 17, 2021
-
-
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.
-
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.
-
- Nov 15, 2021
-
-
Jason Hiser authored
-
- Nov 11, 2021
-
-
Jason Hiser authored
-
- Oct 29, 2021
-
-
Jason Hiser authored
Deal with prefixes on jmp/jcc/call instructions that might change the insn length, fix syntax for x86
-
Jason Hiser authored
Deal with prefixes on jmp/jcc/call instructions that might change the insn length, fix syntax for arm
-
Jason Hiser authored
-
- Oct 28, 2021
-
-
Jason Hiser authored
-
- Oct 14, 2021
-
-
Jason Hiser authored
Deal with fallthroughs to unpinned IBTAs See merge request !15
-
Jason Hiser authored
Previously, dollop coalescing would allow unpinned IBTAs disobey the IBTA alignment restrictions. To deal with alignment, the dollop coalescing was disallowed if an unpin to attempt to coalesce is in a different function than the code that the unpin would would be coalesced to.
-
- Oct 11, 2021
-
-
Jason Hiser authored
-
- Sep 24, 2021
-
-
Jason Hiser authored
Move-globals speedup See merge request !14
-
Jason Hiser authored
-
- Sep 17, 2021
-
-
Jason Hiser authored
-
Jason Hiser authored
New feature allows sizer to specify the alignment of unpinned instructions (i.e., instructions with a pin, but no pin address). Feature applies only to instructions that are _not_ the fallthrough of other instructions (e.g., function pointers) Also, code cleanups (removing commented-out code, spacing, tabbing)
-
Jason Hiser authored
-
Jason Hiser authored
This reverts commit ed60f36d.
-
- Sep 16, 2021
-
-
Jason Hiser authored
May need to revisit this because pin-alignment needs to be a function of the dollop manager, instead of the hacky method it is now.
-
- Sep 15, 2021
-
-
Jason Hiser authored
-
Jason Hiser authored
-
Jason Hiser authored
-
Jason Hiser authored
-
Jason Hiser authored
Debugging code allows for one to binary-search the unpins. But a .dynsym, .got, etc. entry can be duplicated in it's own section or other sections. Unpinning has to handle unpinning an instruction and deal with updating all tables properly. Bug was found in handling of the unpin for .dynsym in this regard. This patch fixes that bug.
-
Jason Hiser authored
-
- Sep 14, 2021
-
-
Jason Hiser authored
-
Jason Hiser authored
-
Jason Hiser authored
-
Jason Hiser authored
-
- Sep 09, 2021
-
-
Jason Hiser authored
-
- Aug 25, 2021
-
-
Jason Hiser authored
Rarely executed check for table-table entry encoding returned that mismatching encodings are OK, but later ::extend() asserted they had to be the same. Fixed check to return that mismatches result in failed extend instead of abort.
-
Jason Hiser authored
-
- Aug 17, 2021
-
-
Jason Hiser authored
-
Jason Hiser authored
-