Commit Graph

170 Commits

Author SHA1 Message Date
Ned Williamson 27f5e53f50 fixed pc relative offsets in arm. dang, even stackoverflow was wrong about this 2016-01-24 21:10:24 -05:00
Ned Williamson 89af06cb9a typo 2016-01-24 20:37:41 -05:00
Ned Williamson 82d29104f8 be careful, someone might turn BAP back on and we don't want to break it 2016-01-24 20:29:19 -05:00
Ned Williamson 114144e97d oops, old comment 2016-01-24 20:24:16 -05:00
Ned Williamson 773ee753d8 refactor exceptions at end of _get_operand_s 2016-01-24 20:19:38 -05:00
Ned Williamson af44b5cfb7 tweak documentation 2016-01-24 20:18:30 -05:00
Ned Williamson 79b2b4fddf fix off by one in register fetching, fix aarch64 2016-01-24 20:13:50 -05:00
Ned Williamson 2385f8fc9a don't assume registers are in reginfo if we ignore them. relabel r12 as ip: is this safe across the codebase? x86 well tested, arm is still pretty questionable quality ATM 2016-01-24 00:53:32 -05:00
Ned Williamson 3198cbd15f cleanup print code 2016-01-24 00:36:33 -05:00
Ned Williamson 65ce2b2d96 refactor concept of "ignored registers", drop bogus assumption about accessed memory due to instructions like "lea r12, qword ptr [rip + 0x200768]" 2016-01-24 00:32:11 -05:00
Ned Williamson ea183423f7 more refactoring, more robust, added documentation 2016-01-24 00:09:20 -05:00
Ned Williamson 7876f5ed80 some refactoring 2016-01-23 19:28:13 -05:00
Ned Williamson 12050432de significant refactoring to new dynamic resolution code 2015-12-19 18:43:40 -05:00
Ned Williamson e46f23e811 another bug found with tester, all green now 2015-12-19 16:16:44 -05:00
Ned Williamson bd1c397d61 fix bug in runtime printing 2015-12-19 16:15:29 -05:00
Ned Williamson fed8e96a86 recognize unsupported arches 2015-12-19 16:11:59 -05:00
Ned Williamson fec7045b1f wow my tests are finding bugs 2015-12-19 15:56:35 -05:00
Ned Williamson 050cec6ec8 x86 can have two offsets 2015-12-19 15:37:19 -05:00
Ned Williamson 0ae9acb551 still ugly, but supports more arches now 2015-12-16 21:28:43 -05:00
Ned Williamson ded47fb203 dynamic instruction resolution in progress 2015-12-16 17:12:00 -05:00
George Hotz 1336a6e1f8 start static2 caching, shouldn't be deleted on exit 2015-09-04 00:02:24 -07:00
George Hotz 7c0621ac4b add broken angr tracer 2015-09-03 14:18:07 +00:00
George Hotz 7b48cfd875 clean up the args for static 2015-08-27 22:58:16 +00:00
George Hotz 0fcf5cca59 ida should be a static2 backend again 2015-08-27 22:49:53 +00:00
George Hotz 6e23c432ea final solution to static, turned off by default but -S works to enable it 2015-08-27 08:19:35 +00:00
George Hotz 4838fb98c3 global_tags should be using Tags 2015-08-21 01:18:19 -07:00
Ned Williamson 4bcf468e1e remove debug print 2015-08-20 16:10:35 -04:00
Tim Becker ae6116fe23 Recognition of calls on ARM, PPC, and MIPS 2015-08-16 18:09:26 -04:00
Tim Becker d99025af5c Add support for little endian mips 2015-08-11 22:24:36 -04:00
Ned Williamson bb1c57746b loader fails nicely on non-ELF inputs 2015-08-11 13:41:48 -04:00
George Hotz c3045e7dee explictly use python2 2015-03-24 00:45:11 -07:00
George Hotz 1aec90c6a4 move tracers into the tracers directory 2015-03-24 00:36:08 -07:00
Tim Becker 633ea1169e Rename static['sections'] to static['segments']. Fix unnecessary line in byteweight 2015-03-23 01:35:29 -04:00
Tim Becker e186e160f1 Fixes .bss loader bug 2015-03-21 20:51:45 -04:00
George Hotz 348539201d Merge pull request #90 from nedwill/thumb_fix
Fix thumb bug on UI
2015-03-21 14:02:49 -07:00
George Hotz ea256af3e3 ugh utter bullshit rela_plt 2015-03-21 13:49:30 -07:00
George Hotz ade5599f35 wrote horrible hack for the PLT problem 2015-03-21 13:42:49 -07:00
Ned Williamson c8b9a56c89 fix thumb bug on UI 2015-03-21 15:59:35 -04:00
Ned Williamson ef226335b2 use sleeps 2015-03-11 01:27:00 -04:00
Ned Williamson 5d76d2589b Merge branch 'master' of https://github.com/BinaryAnalysisPlatform/qira into static_perf 2015-03-09 19:42:53 -04:00
Ned Williamson 78395b7301 respect the recursive flag
We may need this to do some kind of "quick analysis" where functions
that are in the trace are processed first without recursing.
2015-03-09 19:40:21 -04:00
Ned Williamson 7ac4aed581 tweak to formatting 2015-03-08 16:57:09 -04:00
Ned Williamson 540289068b check runtime errors 2015-03-08 16:46:19 -04:00
Tim Becker ee6614137d Hacky fix for #76 2015-03-05 16:05:15 -05:00
George Hotz 2a950c0bf0 Merge pull request #68 from nedwill/tests_cleanup
Tests Cleanup
2015-02-16 11:58:08 -08:00
Ned Williamson c309af24bb reminder about virtualenv 2015-02-12 16:28:20 -05:00
Ned Williamson 69830a93a8 Merge branch 'master' into tests_cleanup 2015-02-12 16:22:00 -05:00
Tim Becker 04f1476739 Fixed one more x86 issue 2015-02-12 16:06:06 -05:00
Tim Becker 72565004e4 Fixed two bugs in x86 destinations 2015-02-12 15:44:04 -05:00
Ned Williamson c5ba1f8c9e restore old behavior for 64-bit ints in x86
actually we get 64-bit ints from BAP for x86 pretty often.
now warn when debug_level >= 1

Also, only call calc_offset if dst.arg is an int
2015-02-12 15:09:11 -05:00