Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ronin-rb/ronin-support
A support library for Ronin. Like activesupport, but for hacking!
https://github.com/ronin-rb/ronin-support
Better context descriptions.
e99ebb57c8e032a44734774643b6647a9a333107 authored almost 3 years ago
e99ebb57c8e032a44734774643b6647a9a333107 authored almost 3 years ago
Added `Network::SSL.context`.
fbfe6c1d34a665b1c64da0d2bfd10d7f8d90f2f9 authored almost 3 years ago
fbfe6c1d34a665b1c64da0d2bfd10d7f8d90f2f9 authored almost 3 years ago
Added `String.ascii`, `String#to_ascii`, and `String#to_utf8` (closes #97).
2e62ae45b5b3f5ef214e5394b5590e086ec89768 authored almost 3 years ago
2e62ae45b5b3f5ef214e5394b5590e086ec89768 authored almost 3 years ago
Moved `Array#pack` into `ronin/binary/core_ext/array` (closes #198).
704e068c33d60ff24bf9cc2a8266fce7a4615ae6 authored almost 3 years ago
704e068c33d60ff24bf9cc2a8266fce7a4615ae6 authored almost 3 years ago
Fix a require.
f1878acb75d286ecb15643cd4c11391c5810ec8e authored almost 3 years ago
f1878acb75d286ecb15643cd4c11391c5810ec8e authored almost 3 years ago
Moved `String#unpack` into `ronin/support/binary/core_ext/string` (closes #197).
c87d0be61abfe188e2e94e3ce7419c160937094f authored almost 3 years ago
c87d0be61abfe188e2e94e3ce7419c160937094f authored almost 3 years ago
Add specs for the caching behavior of `Binary::Array#[]` and `Binary::Struct#[]`.
6da9327caeb0e166b923e1fb5d8f20f04e6a4efc authored almost 3 years ago
6da9327caeb0e166b923e1fb5d8f20f04e6a4efc authored almost 3 years ago
Clean up copy/pasted specs.
8b342bbc5b85524f9a538fc9a6a97e9025339835 authored almost 3 years ago
8b342bbc5b85524f9a538fc9a6a97e9025339835 authored almost 3 years ago
Add caching of other `Binary::Array`/`Binary::Struct` objects in `Binary::Array#[]`.
744f222e13c841aba7b2860cb72f34afc6032599 authored almost 3 years ago
744f222e13c841aba7b2860cb72f34afc6032599 authored almost 3 years ago
Added specs for `Binary::Array`s of other `Binary::Array` or `Binary::Struct`s.
ef9ec570f69ae3038f7ff7619a4297153ecf5586 authored almost 3 years ago
ef9ec570f69ae3038f7ff7619a4297153ecf5586 authored almost 3 years ago
Fix spec description.
9f0d3ed296b26e2d95a8f89909a4815ec5aefc1c authored almost 3 years ago
9f0d3ed296b26e2d95a8f89909a4815ec5aefc1c authored almost 3 years ago
Only create the ByteSlice object once.
673df0bc0691e4ad122f31b30513435fb8386650 authored almost 3 years ago
673df0bc0691e4ad122f31b30513435fb8386650 authored almost 3 years ago
Simplify `Binary::Struct#[]` logic.
20ce228bb812684789dfcfc11c53c5587161e843 authored almost 3 years ago
20ce228bb812684789dfcfc11c53c5587161e843 authored almost 3 years ago
Fix copy/paste documentation.
3560ececd9ec4aedc23afc429c117234a356cc4f authored almost 3 years ago
3560ececd9ec4aedc23afc429c117234a356cc4f authored almost 3 years ago
JRuby oes not currently support `["foo"].pack('p')` so mark spec pending on JRuby.
81f7826b6641fad19c35303944a88c0956696602 authored almost 3 years ago
81f7826b6641fad19c35303944a88c0956696602 authored almost 3 years ago
No longer pass keyword arguments down to `Struct#initialize`.
3539fa5ce58cf039f8f8a101262500452496c579 authored almost 3 years ago
3539fa5ce58cf039f8f8a101262500452496c579 authored almost 3 years ago
Require `ArrayObjectType` and `StructObjectType`.
52bc441486d30b4d4a9a339ac95fc3bcfebc2f57 authored almost 3 years ago
52bc441486d30b4d4a9a339ac95fc3bcfebc2f57 authored almost 3 years ago
Refactored `Binary::Struct` to use `Types` (closes #180).
ca1d09f0024cc9bf727b85a37f122622522e6e8e authored almost 3 years ago
ca1d09f0024cc9bf727b85a37f122622522e6e8e authored almost 3 years ago
Refactored `Binary::ArrayBuffer` to `Binary::Array`.
* Use `Types::Mixin`.
* Added `Types::ArrayObjectType` which can deserialize a
`Binary::Array`...
Added `Binary::Types::ObjectType`.
bf0b3b6f19d0a6d93aef1c10e232d7f414f1ea70 authored almost 3 years ago
bf0b3b6f19d0a6d93aef1c10e232d7f414f1ea70 authored almost 3 years ago
Refactored `Binary::Stack` to use `Types::Mixin`.
3dd10d8187a3a687e24acf3691012f91a4501957 authored almost 3 years ago
3dd10d8187a3a687e24acf3691012f91a4501957 authored almost 3 years ago
Refactor `Binary::Buffer` to use `Types::Mixin`.
875effe6ebbc9822212d62f013d37a0b293a646b authored almost 3 years ago
875effe6ebbc9822212d62f013d37a0b293a646b authored almost 3 years ago
Refactored `Binary::Format` to use `Types::Mixin` and `Types::Resolver`.
1da61f7d04cc34d97a3a709db992785ba4cdc8ce authored almost 3 years ago
1da61f7d04cc34d97a3a709db992785ba4cdc8ce authored almost 3 years ago
Added `Binary::Types::Mixin`.
0442559e533460ebbc45545142237e22b01ef910 authored almost 3 years ago
0442559e533460ebbc45545142237e22b01ef910 authored almost 3 years ago
Added `Binary::Types::Resolver`.
50e3f92956d4a020ff798cb4291604cd893a8431 authored almost 3 years ago
50e3f92956d4a020ff798cb4291604cd893a8431 authored almost 3 years ago
Added `Binary::Memory#pack`.
766e6fc7762bb1a37af8d874b1fbe9b293cb957e authored almost 3 years ago
766e6fc7762bb1a37af8d874b1fbe9b293cb957e authored almost 3 years ago
Adjust logic now that `Types::StringType` inherits from `Types::Type`.
79cfd1d83d9870364b6ba73d392469d8c43da47d authored almost 3 years ago
79cfd1d83d9870364b6ba73d392469d8c43da47d authored almost 3 years ago
Fixed old method name.
aeda28f6036f77e95b029526e610fc366b13f063 authored almost 3 years ago
aeda28f6036f77e95b029526e610fc366b13f063 authored almost 3 years ago
Style.
e2e7aa3de83655cec828aa281f1b4d2ec5af9706 authored almost 3 years ago
e2e7aa3de83655cec828aa281f1b4d2ec5af9706 authored almost 3 years ago
Fixed copy/pasted documentation.
b2098554f617f4dd66ffca7f6d8f1d282fa046bd authored almost 3 years ago
b2098554f617f4dd66ffca7f6d8f1d282fa046bd authored almost 3 years ago
Cleaned up `Format#translate`.
2d373816bd112902c50ad1cb7086764e55ba77eb authored almost 3 years ago
2d373816bd112902c50ad1cb7086764e55ba77eb authored almost 3 years ago
Added `Memory#byteslice`.
a2c4130305c72e8565812edd8ad173487c0e9cfb authored almost 3 years ago
a2c4130305c72e8565812edd8ad173487c0e9cfb authored almost 3 years ago
Fixed a YARD `@param` tag.
23cf0b7665f00a0f3a1b12cff7637e21b1723b33 authored almost 3 years ago
23cf0b7665f00a0f3a1b12cff7637e21b1723b33 authored almost 3 years ago
Added basic field alignment to `Types::StructType`.
cdf2f9fafbb2cc1e1bf38b68cfdd38d6160e3167 authored almost 3 years ago
cdf2f9fafbb2cc1e1bf38b68cfdd38d6160e3167 authored almost 3 years ago
Removed duplicate `AggregateType#size` definition.
* `Type` already defines a place-holder `#size` method.
0dedfe405477585d72aa27b25833973e9ff59ac8 authored almost 3 years ago
Added `#alignment` to `Binary::Types::Type` and `Binary::Types::ScalarType`, etc.
552bc89132565ee28c54737f0fd1bb785bdb8517 authored almost 3 years ago
552bc89132565ee28c54737f0fd1bb785bdb8517 authored almost 3 years ago
Added `Memory#[]` and `Memory#[]=`.
d70ed480f81f2ed5764f8351f951007836928bdb authored almost 3 years ago
d70ed480f81f2ed5764f8351f951007836928bdb authored almost 3 years ago
Clarify spec descriptions and meaning.
8bbcfd437fdc5cda9579041485655042c68ea661 authored almost 3 years ago
8bbcfd437fdc5cda9579041485655042c68ea661 authored almost 3 years ago
Add a spec for when a `ByteSlice` is given to `ArrayBuffer#initialize`.
0bdfaf45c9dec26673f8f1568fe1304ae1e89344 authored almost 3 years ago
0bdfaf45c9dec26673f8f1568fe1304ae1e89344 authored almost 3 years ago
Added `Binary::Memory#clear`.
078876ad6b6d9ee5b3ba4d76cf52eada9985ed47 authored almost 3 years ago
078876ad6b6d9ee5b3ba4d76cf52eada9985ed47 authored almost 3 years ago
Added `Type#size` as an abstract method to ensure all types have a size.
f648aa767c1807cb829fd18c41cec8c0be5a0b1e authored almost 3 years ago
f648aa767c1807cb829fd18c41cec8c0be5a0b1e authored almost 3 years ago
Added `ronin/support/binary/core_ext`.
e31b8bc41c53ba81c654a45adfcbeb9470ce098c authored almost 3 years ago
e31b8bc41c53ba81c654a45adfcbeb9470ce098c authored almost 3 years ago
Added `String#each_bit_flip` and `String#bit_flips` (closes #191).
e1efca4202e6fa68a0dfe96b4bfa83f0e5877f6a authored almost 3 years ago
e1efca4202e6fa68a0dfe96b4bfa83f0e5877f6a authored almost 3 years ago
Added `Integer#each_bit_flip` and `Integer#bit_flips` (closes #192).
49a67940372a3b6d285778c7fbee29461f48c96d authored almost 3 years ago
49a67940372a3b6d285778c7fbee29461f48c96d authored almost 3 years ago
Refactor `Binary::ArrayBuffer` to inherit from `Memory` (closes #194).
d1d0a3785e423ff5cad8514385282acf35c7f150 authored almost 3 years ago
d1d0a3785e423ff5cad8514385282acf35c7f150 authored almost 3 years ago
Refactor `Binary::Buffer` to inherit from `Memory` (closes #193).
71c01d8d32e1223aab8cc394c2f650acdc96ce63 authored almost 3 years ago
71c01d8d32e1223aab8cc394c2f650acdc96ce63 authored almost 3 years ago
Make the exception message a little more generic.
f01c584b88c3ca75eb531d01c3de4667b26b47e3 authored almost 3 years ago
f01c584b88c3ca75eb531d01c3de4667b26b47e3 authored almost 3 years ago
Added `Binary::Memory` base class (closes #189).
da71d883b6e6d45d4286271bc4e8f7dc00bb76ef authored almost 3 years ago
da71d883b6e6d45d4286271bc4e8f7dc00bb76ef authored almost 3 years ago
Fixed YARD `@param` tags.
7b10a79e992b577ad570e37cf6472fa1854900df authored almost 3 years ago
7b10a79e992b577ad570e37cf6472fa1854900df authored almost 3 years ago
Added `@api` YARD tags.
c7b3cf43553c6eadb8f222bf618e28c677459feb authored almost 3 years ago
c7b3cf43553c6eadb8f222bf618e28c677459feb authored almost 3 years ago
Require additional non-scalar type classes by default.
c9b990202c988dfc10fbf2c50f5c06e4c901b172 authored almost 3 years ago
c9b990202c988dfc10fbf2c50f5c06e4c901b172 authored almost 3 years ago
Add support to `Binary::Format` when any of the types lacks a #pack_string.
fecfaaf7ee1c7f205e481efbcc407835d65fa782 authored almost 3 years ago
fecfaaf7ee1c7f205e481efbcc407835d65fa782 authored almost 3 years ago
Added `Binary::ByteSlice` (closes #189).
476886a3a6f89158a989541b7aee35eb98a008da authored almost 3 years ago
476886a3a6f89158a989541b7aee35eb98a008da authored almost 3 years ago
Added specs for packing/unpacking Array or infinite Array `Binary::Format` fields.
d9156ff58e3e6976f56927433663cccb6fb6ac3a authored almost 3 years ago
d9156ff58e3e6976f56927433663cccb6fb6ac3a authored almost 3 years ago
Style.
85f7017847f675d875f539056656e407f298fc5c authored almost 3 years ago
85f7017847f675d875f539056656e407f298fc5c authored almost 3 years ago
Split out the `StringType` specific logic in `UnboundedArrayType#unpack`.
eb45546a13afe7258c68de6c84bdc6c6ed4e7b3f authored almost 3 years ago
eb45546a13afe7258c68de6c84bdc6c6ed4e7b3f authored almost 3 years ago
Removed old redundent code.
82cebd2fac80d28242a71a5fe319fac59450f798 authored almost 3 years ago
82cebd2fac80d28242a71a5fe319fac59450f798 authored almost 3 years ago
Correct a spec name.
60a1fc7af373c3787be2c74183979f9d5056c19a authored almost 3 years ago
60a1fc7af373c3787be2c74183979f9d5056c19a authored almost 3 years ago
Fixed spec descriptions.
53048e3ed0bb133d720fff0ffe7333f6fada8a36 authored almost 3 years ago
53048e3ed0bb133d720fff0ffe7333f6fada8a36 authored almost 3 years ago
Added a missing spec for packing an UnboundedArrayType of a StructType.
02341b5992fb5a5a414ad4539c89bc24fb24b7df authored almost 3 years ago
02341b5992fb5a5a414ad4539c89bc24fb24b7df authored almost 3 years ago
Support packing/unpacking Arrays or C Strings.
69342980ae9287d728e672106fefc0c1e32038b1 authored almost 3 years ago
69342980ae9287d728e672106fefc0c1e32038b1 authored almost 3 years ago
Changed `StringType` to inherite directly from `Type`.
ca870830dc58f47737861c8470bb3705b0c5f5a1 authored almost 3 years ago
ca870830dc58f47737861c8470bb3705b0c5f5a1 authored almost 3 years ago
Fixed spec descriptions.
1396746d104cb42d7869ca1b9477130a81d423b9 authored almost 3 years ago
1396746d104cb42d7869ca1b9477130a81d423b9 authored almost 3 years ago
Improved packing/unpacking of nested aggregate types.
* Added `#enqueue_value` and `#dequeue_value` which converts between
nested values and a flat ...
Use redcarpet on CRuby so YARD can parse GFM syntax highlighting in the README.
a329f4dfd92ec581161ebe3cf75eae03668ee56b authored almost 3 years ago
a329f4dfd92ec581161ebe3cf75eae03668ee56b authored almost 3 years ago
Added a high-level Features section to the `Binary::Stack` documentation.
220d5c17ff1b340a06a0fffd3a933a2b35d21219 authored almost 3 years ago
220d5c17ff1b340a06a0fffd3a933a2b35d21219 authored almost 3 years ago
Markdown formatting.
58e11709d17cd1bd7c8da93430268b7a13646c8e authored almost 3 years ago
58e11709d17cd1bd7c8da93430268b7a13646c8e authored almost 3 years ago
Updated the `Binary::Stack` examples.
05b842c91ad8d5afb06d459da1556ed943d3795b authored almost 3 years ago
05b842c91ad8d5afb06d459da1556ed943d3795b authored almost 3 years ago
Push/pop values onto the front of the buffer to better match stack layout.
0441d9feed52d6058eaabdcffa70cb8465e32bf3 authored almost 3 years ago
0441d9feed52d6058eaabdcffa70cb8465e32bf3 authored almost 3 years ago
Style.
cb992b131f75c818dfd24d9baecebafec66ceeb1 authored almost 3 years ago
cb992b131f75c818dfd24d9baecebafec66ceeb1 authored almost 3 years ago
Treat negative stack indexes as relative to the beginning of the stack.
4a58e7a7bc952007f91f2e1cc5e04ba2c7a3f17d authored almost 3 years ago
4a58e7a7bc952007f91f2e1cc5e04ba2c7a3f17d authored almost 3 years ago
Allow accessing values at arbitrary offsets within the stack.
fd4e871ac1d155fe40d1ea633debc1f52a88a70c authored almost 3 years ago
fd4e871ac1d155fe40d1ea633debc1f52a88a70c authored almost 3 years ago
Added more `@group` tags.
463ac7bedd3647613031208a3b6d6efb65d3b2aa authored almost 3 years ago
463ac7bedd3647613031208a3b6d6efb65d3b2aa authored almost 3 years ago
Fixed spec descriptions.
012c266bb654fe05cf87fd388cfff9c766d83a81 authored almost 3 years ago
012c266bb654fe05cf87fd388cfff9c766d83a81 authored almost 3 years ago
Added `Ronin::Support::Binary::Stream` (closes #182).
cc58665c5cc2cd0942269b0a1bd9e0c750513af3 authored almost 3 years ago
cc58665c5cc2cd0942269b0a1bd9e0c750513af3 authored almost 3 years ago
Use the new `LONG` and `ULONG` constants in the `Binary::Types` modules.
29abb21385523e34883d7a95029dd3b55ce4fab3 authored almost 3 years ago
29abb21385523e34883d7a95029dd3b55ce4fab3 authored almost 3 years ago
Removed the unused `Buffer#type` reader method.
717b80a1ab0dfc1040f98db0b986a783ecb22760 authored almost 3 years ago
717b80a1ab0dfc1040f98db0b986a783ecb22760 authored almost 3 years ago
Added `Ronin::Support::Binary::Stack` (closes #184).
b7b62022c1f87455b95ffa7b9e81643c4c9366bd authored almost 3 years ago
b7b62022c1f87455b95ffa7b9e81643c4c9366bd authored almost 3 years ago
Cleaned a spec.
19c9b43a0cf23757d9c76e4d7c1a9b97684167a5 authored almost 3 years ago
19c9b43a0cf23757d9c76e4d7c1a9b97684167a5 authored almost 3 years ago
Guard against non-scalar types being passed to `Binary::Hexdump::Parser.new`.
4a17edc8f71b9a3b0b4f4af327aed678b22b20f8 authored almost 3 years ago
4a17edc8f71b9a3b0b4f4af327aed678b22b20f8 authored almost 3 years ago
Fixed YARD links.
c457c7cd63c83f6bac50eaee68a38e6c36e70328 authored almost 3 years ago
c457c7cd63c83f6bac50eaee68a38e6c36e70328 authored almost 3 years ago
Added separate 32bit LE / 32bit BE / 64bit LE / 64bit BE spec examples.
3fc1da73024c3544d18bf3dd3f32f5c2907217b0 authored almost 3 years ago
3fc1da73024c3544d18bf3dd3f32f5c2907217b0 authored almost 3 years ago
Style fix.
bc927994eeded23763a2d5ae5b0b95b9a10ffe04 authored almost 3 years ago
bc927994eeded23763a2d5ae5b0b95b9a10ffe04 authored almost 3 years ago
Added `POINTER` constants to all `Binary::Types` modules.
25ce7f5b932f2feb05ce5fb2c3d4a31599bb464e authored almost 3 years ago
25ce7f5b932f2feb05ce5fb2c3d4a31599bb464e authored almost 3 years ago
DRY up `Binary::Types` specs.
346530bd7c59da2fce528bbd5aa95ccaebe0aedd authored almost 3 years ago
346530bd7c59da2fce528bbd5aa95ccaebe0aedd authored almost 3 years ago
Added `SHORT`, `INT`, `LONG`, `LONG_LONG`, etc, constants.
86b9dc282497647a39c7f429f198f46a81c130e5 authored almost 3 years ago
86b9dc282497647a39c7f429f198f46a81c130e5 authored almost 3 years ago
Added `FLOAT` and `DOUBLE` constants.
93e20c348b07e560a399dbb6a2856c5f768e08f3 authored almost 3 years ago
93e20c348b07e560a399dbb6a2856c5f768e08f3 authored almost 3 years ago
Renamed `CSTRING` to just `STRING`.
bcf8b95d32b31e32f88d044a52ba4534f046eca4 authored almost 3 years ago
bcf8b95d32b31e32f88d044a52ba4534f046eca4 authored almost 3 years ago
UPCASED all constants in `Binary::Types` to indicate they are objects, not classes.
607f8e93d9ab679dfcea315cf0e62307a7a2bcbe authored almost 3 years ago
607f8e93d9ab679dfcea315cf0e62307a7a2bcbe authored almost 3 years ago
Added `MACHINE_WORD` constants to all `Binary::Types` modules (closes #188).
52d6b3b0aec811b15a659fafe0f1fdb3b3e4c837 authored almost 3 years ago
52d6b3b0aec811b15a659fafe0f1fdb3b3e4c837 authored almost 3 years ago
Organize/group specs better.
59ad8efa717cfcba34374bf3e12058fbae95dc77 authored almost 3 years ago
59ad8efa717cfcba34374bf3e12058fbae95dc77 authored almost 3 years ago
Added `WORD`, `DWORD`, `QWORD` constants to `Types` modules (closes #187).
d16c38747a11b26425efd5420704927030034039 authored almost 3 years ago
d16c38747a11b26425efd5420704927030034039 authored almost 3 years ago
Changed all `Buffer#put*` methods to return self to allow method chaining.
f54c34dd1e6aab891df6b3a4e6d504b4ad412d39 authored almost 3 years ago
f54c34dd1e6aab891df6b3a4e6d504b4ad412d39 authored almost 3 years ago
Added `#inspect` output to the `Buffer` and `ArrayBuffer` examples.
38f85b197afe23a84bacaf31c12f0fee683cf6d0 authored almost 3 years ago
38f85b197afe23a84bacaf31c12f0fee683cf6d0 authored almost 3 years ago
Fix the fancy `#inspect` methods.
d7fa306f1b74d4c70fd0fc9a861b8caed1065a17 authored almost 3 years ago
d7fa306f1b74d4c70fd0fc9a861b8caed1065a17 authored almost 3 years ago
Documentation fixes.
3a41e1f4854fce875494a27cb8774331c50d1a98 authored almost 3 years ago
3a41e1f4854fce875494a27cb8774331c50d1a98 authored almost 3 years ago
Added fancy `#inspect` methods to `Buffer` and `ArrayBuffer`.
2149d61023976d1eac7208a0bc95b937d761375f authored almost 3 years ago
2149d61023976d1eac7208a0bc95b937d761375f authored almost 3 years ago
Split `Ronin::Support::Binary::ArrayBuffer` out of `Buffer` (closes #186).
a6c82d1c9237b8ec43f38762a63d32dcde7ceffa authored almost 3 years ago
a6c82d1c9237b8ec43f38762a63d32dcde7ceffa authored almost 3 years ago
Removed duplicate specs.
62f492f5d15be8f7c9aea8aab6f920eea2836155 authored almost 3 years ago
62f492f5d15be8f7c9aea8aab6f920eea2836155 authored almost 3 years ago
Added bounds checking to `Buffer` methods.
4df3f315bd232469839e3dbcb2e682df3c43a481 authored almost 3 years ago
4df3f315bd232469839e3dbcb2e682df3c43a481 authored almost 3 years ago