Commit Graph

292 Commits

Author SHA1 Message Date
dependabot[bot] d540592209
Bump yard from 0.9.35 to 0.9.36 (#214)
Bumps [yard](https://github.com/lsegal/yard) from 0.9.35 to 0.9.36.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.35...v0.9.36)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02 17:00:07 +08:00
dependabot[bot] 4317abbe87
Bump yard from 0.9.34 to 0.9.35 (#212)
Bumps [yard](https://github.com/lsegal/yard) from 0.9.34 to 0.9.35.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.34...v0.9.35)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 18:48:05 +08:00
dependabot[bot] f59d5db628
Bump rspec from 3.12.0 to 3.13.0 (#213)
Bumps [rspec](https://github.com/rspec/rspec-metagem) from 3.12.0 to 3.13.0.
- [Commits](https://github.com/rspec/rspec-metagem/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 18:47:32 +08:00
dependabot[bot] 65ce1dade7
Bump rake from 13.0.6 to 13.1.0 (#211)
Bumps [rake](https://github.com/ruby/rake) from 13.0.6 to 13.1.0.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v13.0.6...v13.1.0)

---
updated-dependencies:
- dependency-name: rake
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 00:01:59 +08:00
dependabot[bot] a22beb0ac5
Bump rspec from 3.11.0 to 3.12.0 (#200)
Bumps [rspec](https://github.com/rspec/rspec-metagem) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/rspec/rspec-metagem/releases)
- [Commits](https://github.com/rspec/rspec-metagem/compare/v3.11.0...v3.12.0)

---
updated-dependencies:
- dependency-name: rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 01:08:48 +08:00
dependabot[bot] 866866f305
Bump yard from 0.9.28 to 0.9.34 (#203)
Bumps [yard](https://github.com/lsegal/yard) from 0.9.28 to 0.9.34.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.28...v0.9.34)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 01:06:24 +08:00
david942j a1d710914b
Bump to 1.9.0 (#210) 2023-11-30 00:12:45 +08:00
david942j f8c0c841e2
Update specs (#209)
Signed-off-by: david942j <david942j@gmail.com>
2023-11-30 00:01:23 +08:00
david942j 08ffec7c1f Update builds after #203 merged
Signed-off-by: david942j <david942j@gmail.com>
2023-11-29 15:46:01 +00:00
Alan Li e2419f770f
Enhance the constraints for `argv` and `envp` (#206)
* Enhance the constraints for `argv` and `envp`
2023-08-16 23:02:26 +08:00
Alan Li cdf889a53d
Add `--dwarf-start=0` option to remove the file path in the output (#205)
* Add `--dwarf-start=0` option to remove the file path in output
2023-07-27 00:38:45 +08:00
david942j 7f3bf1350b
Allow test failure on Ruby head (#208)
* Allow test failure on Ruby head
2023-07-25 01:00:26 +08:00
Tobias Manske f640cd80b3
Replace obsolecent egrep with grep -E (#199)
Fixes the warnings occuring with recent grep versions
egrep: warning: egrep is obsolescent; using grep -E

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
2023-01-24 18:41:38 +08:00
CptGibbon 6dc634daba
Check for false positives in jmp_case_candidates (#198)
* Check for false positives in jmp_case_candidates
2022-08-12 21:27:57 +08:00
dependabot[bot] acef31b387
Bump yard from 0.9.27 to 0.9.28 (#196)
Bumps [yard](https://github.com/lsegal/yard) from 0.9.27 to 0.9.28.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.27...v0.9.28)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 22:48:29 +08:00
dependabot[bot] 25c093a6a6
Bump rubocop from 1.27.0 to 1.28.2 (#195)
* Bump rubocop from 1.27.0 to 1.28.2

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.27.0 to 1.28.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.27.0...v1.28.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* use ENV.fetch for environment variable accesses

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: david942j <david942j@gmail.com>
2022-04-27 21:45:03 +08:00
dependabot[bot] 7b1c3e664c
Bump rubocop from 1.26.1 to 1.27.0 (#193)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.26.1...v1.27.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09 16:11:21 +08:00
dependabot[bot] 06b7b113ad
Bump rubocop from 1.26.0 to 1.26.1 (#192)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.26.0...v1.26.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 10:38:08 +08:00
david942j 754349c594
Add CC_TEST_REPORTER_ID to tests and bump simplecov to 0.21 (#191)
* Bump simplecov to 0.21

* Don't explicitly set the simplecov formatter
2022-03-26 01:40:19 +08:00
david942j c1189f6513 Bump v1.8.1 2022-03-25 15:14:49 +00:00
david942j 8ae5478970
Grant stack registers a higher score of writable constraints (#190)
* Grant stack registers a higher score of writable constraints

* Replace slice with sub
2022-03-25 23:13:08 +08:00
david942j fc6537a6e7
Revert "Update simplecov requirement from ~> 0.17, < 0.18 to ~> 0.17, < 0.22 (#185)" (#189)
This reverts commit e5a4f467e5.
2022-03-25 21:28:03 +08:00
david942j d27874a7b3
Revert "Bump rubocop from 1.26.0 to 1.26.1 (#186)" (#188)
This reverts commit d0fa0db97e.
2022-03-25 21:27:32 +08:00
dependabot[bot] d0fa0db97e
Bump rubocop from 1.26.0 to 1.26.1 (#186)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.26.0...v1.26.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 09:06:22 +08:00
dependabot[bot] e5a4f467e5
Update simplecov requirement from ~> 0.17, < 0.18 to ~> 0.17, < 0.22 (#185)
Updates the requirements on [simplecov](https://github.com/simplecov-ruby/simplecov) to permit the latest version.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.17.1...v0.21.2)

---
updated-dependencies:
- dependency-name: simplecov
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 09:04:35 +08:00
david942j 9f96cafd41 Bump 1.8.0 2022-03-20 14:13:46 +00:00
david942j b1a7b6559d
Update builds with posix_spawn support (#184) 2022-03-20 22:06:52 +08:00
david942j f3d63ab670
Consider posix_spawn as one-gadgets (#183)
* emulator: implement Processor#arg_to_lambda

* refine descriptions

* emulator: x86: enhance movq instruction

* emulator: x86: add punpcklqdq support

* enhance nested Lambda.parse

* emulators: support more amd64 arguments

* emulators: display XMM's lambda in a programmic way

* support posix_spawn

* Add spec for libc-2.31
2022-03-20 21:59:23 +08:00
david942j 8cc0b042f1
Add Ruby 3.1 and head to tested versions (#182)
* Add Ruby 3.1 and head to tested versions

* Fix spec for Ruby 3.1

Ruby 3.1's error message becomes more verbose. Properly loose the
expectation to have the spec passed for all Ruby versions.
2022-03-16 21:06:18 +08:00
david942j e0d0d77e8e
Upgrade dependencies and adopt fix of new cops (#181) 2022-03-16 20:48:47 +08:00
dependabot[bot] 1a75c6f12b
Bump rspec from 3.10.0 to 3.11.0 (#180)
Bumps [rspec](https://github.com/rspec/rspec-metagem) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/rspec/rspec-metagem/releases)
- [Commits](https://github.com/rspec/rspec-metagem/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 15:38:00 +08:00
dependabot[bot] 95ae3cb147
Bump yard from 0.9.26 to 0.9.27 (#179)
Bumps [yard](https://github.com/lsegal/yard) from 0.9.26 to 0.9.27.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.26...v0.9.27)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 01:35:18 +08:00
david942j 8765130054
amd64: loose the limitation of gadgets with jmp (#178)
* amd64: loose the limitation of gadgets with jmp

Fix #176

Signed-off-by: david942j <david942j@gmail.com>
2021-09-18 16:54:58 +08:00
david942j 9462b777da
Update to the latest libcdb builds (#177) 2021-09-18 16:00:32 +08:00
dependabot[bot] 604ae4df02
Bump rake from 13.0.3 to 13.0.6 (#175)
Bumps [rake](https://github.com/ruby/rake) from 13.0.3 to 13.0.6.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v13.0.3...v13.0.6)

---
updated-dependencies:
- dependency-name: rake
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-10 16:20:41 +08:00
dependabot[bot] 393e7c9e8b
Bump bindata from 2.4.8 to 2.4.10 (#171)
Bumps [bindata](https://github.com/dmendel/bindata) from 2.4.8 to 2.4.10.
- [Release notes](https://github.com/dmendel/bindata/releases)
- [Changelog](https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc)
- [Commits](https://github.com/dmendel/bindata/compare/v2.4.8...v2.4.10)

---
updated-dependencies:
- dependency-name: bindata
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 21:44:06 +08:00
david942j a1c00eea52
Skip code coverage uploading on PR from forked repos (#172) 2021-06-24 21:37:16 +08:00
dependabot-preview[bot] 0d594f561e
Upgrade to GitHub-native Dependabot (#168)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-29 23:22:41 +08:00
dependabot-preview[bot] 5d1cc88bac
Bump rubocop from 1.12.0 to 1.12.1 (#166)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.12.0...v1.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-06 22:56:21 +08:00
dependabot-preview[bot] 78c800b889
Bump rubocop from 1.11.0 to 1.12.0 (#165)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.11.0...v1.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-26 01:11:38 +08:00
dependabot-preview[bot] 3298778c89
Bump rubocop from 1.10.0 to 1.11.0 (#164)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.10.0...v1.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-02 10:42:57 +08:00
Oshawk 4eeaca31ba
Update README to fix Python script (#163)
Updated the Python script in the README file.

`check_output()` returns `bytes`, not `string` so the `.decode()` method is required.

Also, `map` returns an iterator which could be hard to work with so the function was updated to return a list.
2021-02-24 21:07:41 +08:00
dependabot-preview[bot] 9c961b0f59
Bump rubocop from 1.9.1 to 1.10.0 (#161)
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.9.1...v1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-16 22:04:16 +08:00
david942j 2efaaccc2e
Update spec to fit Ubuntu 20.04 (#162) 2021-02-16 22:00:23 +08:00
dependabot-preview[bot] 036e8f0c3d
Bump rubocop from 1.9.0 to 1.9.1 (#160)
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.9.0...v1.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-02 10:32:05 +08:00
dependabot-preview[bot] a8d346d5b6
Bump rubocop from 1.8.1 to 1.9.0 (#159)
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.8.1...v1.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-29 11:59:18 +08:00
david942j 9a86b376fa
Update GitHub workflows and drop appveyor (#157)
* Update workflows to send coverage report

* Test against Ruby 2.6, 2.7, and 3.0

* Lock SimpleCov version < 0.18

* Drop AppVeyor
2021-01-17 17:15:23 +08:00
david942j 63858a9f66 Bump v1.7.4 2021-01-13 01:27:37 +08:00
david942j a2f8310ec6
Add writable constraints to x86 archs (#156) 2021-01-13 01:25:22 +08:00
david942j 740473fc3f Drop Travis 2021-01-12 23:44:22 +08:00