Commit Graph

120 Commits

Author SHA1 Message Date
david942j 55b04d2d4c Fix typos 2019-07-03 06:00:59 -07:00
david942j 033ca2ac5c Let constraint 'sp & 0xf' has higher score
Somehow revert #87's changes on spec/README.md.
2019-06-25 08:21:59 -07:00
david942j 8f21ed1922
Add constraint for XMM alignment (#87)
* Add constraint for XMM alignment

* re-generate the database

* fix codeclimate issue
2019-06-25 00:42:31 +08:00
david942j ff6ef04541 Bump 1.7.2 2019-05-05 08:10:16 -07:00
david942j af983a5cec Added latest ubuntu16.04's libcs 2019-05-05 08:07:12 -07:00
david942j 970cf61e9b
Enhance/near (#82)
* Updated README and added some error handling for --near

* docs

Signed-off-by: david942j <david942j@gmail.com>

* Adds newline where there's none on logging
2019-05-05 20:51:28 +08:00
david942j c97a84ab3c
Introduced CLI module (#81)
* Introduced CLI module
2019-05-04 19:39:14 +08:00
david942j a7c917e819
Target Ruby version 2.3 (#80)
* Target Ruby version 2.3
2019-05-04 15:57:57 +08:00
Umut Barış Öztunç 853dc84481 Feature: Search nearest gadgets (#76)
* Added -n/--near FUNCTIONS/FILE option
* Closed #16
2019-05-04 14:28:48 +08:00
david942j 95116cbe23 Bump 1.7.1 2019-04-19 00:46:11 -07:00
david942j 1ff090cb48
Fixed #73 (#75)
Closed #73
2019-04-19 00:32:03 -07:00
david942j e3f138453d Bump 1.7.0 2019-03-07 09:16:06 -08:00
david942j 69b508464d
Update builds (#70)
* Fix fails in glibc-2.28
* Update to latest libcdb
2019-03-08 00:40:47 +08:00
david942j 2becd55ad0
Enhance/constraint (#69)
* Introduced adding constraints during emulation
* New constraint type: writable
* Let `Gadget#score` be a floating point number, stands for probability
* Update README and screenshots
* Add three AArch64 glibcs to builds
* Use one space instead of one tab in `Gadget#inspect`
2019-03-07 21:16:37 +08:00
david942j 4161f18cc7
Speed up (#68)
* Remove `require_all`
* Move rspec options to .rspec
2019-03-07 13:46:47 +08:00
david942j a8f15f00e8
Introduced scoring on constraints (#67) 2019-03-06 17:29:47 +08:00
david942j 04177cf55d
New architecture support: AArch64 (#64)
* New architecture: AArch64
* Refactor error classes to have more accurate names
* Let Instruction accepts Range as argc
* Fix helper.rb and logger.rb not in coverage report
2019-03-06 14:45:32 +08:00
david942j 7c8e6a727d
Refactor (#66)
* Update README.md
* Update docs
* Add a test of fetching remote build to ensure full coverage
* Refactor and clean code
2019-03-06 13:04:10 +08:00
david942j dbcd9a9b07
Update rubocop.yml (#65) 2019-03-06 00:54:21 +08:00
david942j ab121f931a
Silence output during testing and update README (#63) 2019-02-22 23:14:13 +08:00
david942j d13c8db1c4
Upgrade bundler and rubocop (#61) 2019-02-20 13:40:58 +08:00
david942j 10531ed420 Add two libs from Ubuntu 16.04 2018-10-29 00:22:05 -07:00
david942j adb39b1cf1
Upgrade rubocop to 0.60.0 (#49) 2018-10-28 20:16:19 +08:00
david942j 8b3f71be0b Bump 1.6.2 2018-10-25 08:19:33 -07:00
david942j 707aeb73db Fix circular require 2018-10-25 06:48:35 -07:00
david942j 3e64ec1ba5 doc of Error module 2018-10-23 08:51:11 -07:00
david942j 4a18b9eb0e one_gadget as library, closed #47 2018-10-23 07:49:34 -07:00
david942j 8791899a9f Bump 1.6.1 2018-09-13 10:34:28 +08:00
david942j 667586f05e
Improved update checking (#43)
* Don't check update if stdout is non-tty
* Change update checking frequency from 7 days to 30 days
2018-09-13 10:32:11 +08:00
david942j bc35ada51e
Upgrade rubocop to 0.59 (#44) 2018-09-13 10:27:46 +08:00
david942j 2ba8458e19
Feature/custom error (#40)
* Add custom exception class
* Show error message for unintended usages
2018-09-06 14:57:21 +08:00
david942j 6a9ca16130 Bump 1.6.0 2018-04-28 21:00:47 +08:00
david942j 47c0a94a20
Add xmm* instructions and glibc-2.27 builds (#27)
* Add xmm* instructions: movq/movhps/movaps
* Add two builds - libc 32/64 bits on Ubuntu 18.04
* closed #26
2018-04-28 20:57:14 +08:00
david942j 4d97472148
Feature/info (#25)
* Show information given BuildID
* Fix un-cleanup resource
2018-04-27 18:56:03 +08:00
david942j d1257ba3d5 Upgrade gems 2018-04-03 22:21:38 +08:00
david942j b2cef93bfb add ubuntu 17.10 builds 2018-01-29 19:34:10 +08:00
david942j 371aadebc7 upgrade gems 2017-12-21 18:18:15 +08:00
david942j 448e73dfcc bump 1.5.0 2017-11-06 10:20:00 +08:00
david942j 9dfea12c3b
Feature/two (#15)
* consider valid function calls
2017-11-05 20:18:23 -06:00
david942j faa09230aa bump 1.4.1 2017-11-01 17:40:35 +08:00
david942j deb30bb59b missing require 2017-10-18 19:43:25 +08:00
david942j fce2dcd5dc touch 2017-10-10 14:02:05 +08:00
david942j 24f1f9e504 Check update automatically (#13)
* check update automatically
2017-10-09 22:05:28 +08:00
david942j 4682e8609c closed #12 2017-10-03 12:45:28 +08:00
david942j 9a9d6e2878 bump 1.4.0 2017-06-23 23:21:27 +08:00
david942j ec68f4b65f show warning message when BuildID not found 2017-06-23 23:05:08 +08:00
david942j f8cdc9c0e3 add new libc for ubuntu 16.04/17.04 2017-06-20 21:41:43 +08:00
david942j 5f6821a218 Refactor/naming (#10)
* Add README.tpl
* Renaming: rw => got
* Add yard
2017-06-07 16:02:40 +08:00
david942j e2709f7153 Merge branch 'master' of https://github.com/david942j/one_gadget 2017-06-07 01:20:12 +08:00
david942j 62ff8e60d3 Fix/pltgot (#9)
* Rectify description in 32bit constraints
* Upgrade rubocop
2017-06-07 01:05:25 +08:00