Commit Graph

132 Commits

Author SHA1 Message Date
david942j bd1a6c2da8
Update libcdb (#132) 2020-10-18 15:23:19 +08:00
david942j ecf0ae04ab
Enable new cops and fix styles (#131) 2020-10-18 15:18:29 +08:00
david942j 122b611f51
Pull out objdump commands to an independent class (#128) 2020-06-25 00:32:47 +08:00
david942j 5e724e6259
Use strict keyword arguments representation for Ruby 2.8 (#127) 2020-06-20 17:00:27 +08:00
david942j 9bd880f9b0
Regenerate all builds (#125)
* Update the links to libc
* Update the gadgets affected by #122
2020-06-18 23:55:01 +08:00
david942j fc3daee25a
Fix missing gadgets when two gadgets are too close (#122)
Close #119
2020-06-18 23:31:16 +08:00
david942j 96813ff885 Add latest Ubuntu glibc builds 2020-06-16 22:40:24 +08:00
david942j 38abecc6ed
Add 2.29, 2.30, and 2.31 builds (#118) 2020-06-03 00:00:24 +08:00
david942j 9c7608bbb4 Add libc-2.29 and 2.30 builds 2020-01-14 06:25:05 -08:00
david942j 8a5cc92a67
Upgrade rubocop and bundler (#106) 2019-12-21 23:45:09 +08:00
david942j 73f8c0ebe2 Bump version 1.7.3 2019-10-25 08:42:16 -07:00
david942j a944dd3d6e
Add --base option (#100) 2019-10-25 23:43:15 +08:00
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