Neven Sajko
8750c16425
all: redesign errors in memguard and memguard/core
...
Memcall is not touched yet. Otherwise this replaces sentinel error
values with IsX exported predicate functions. This enables more
effective error handling by the users and leaves much more freedom for
changing the implementation in the future without breaking API.
Updates #111
2019-08-01 17:12:33 +00:00
Awn
843870774d
optimise buffer state methods ( #103 )
2019-07-25 23:01:20 +01:00
Awn Umar
188e481ed8
extend tests
2019-06-26 20:06:03 +01:00
Awn Umar
a2fa811a85
canary: remove lower bound limit on length
2019-06-17 19:26:26 +01:00
Awn Umar
eb371074c7
critical: patch error in canary size
2019-06-17 14:35:45 +01:00
Awn Umar
5094398556
make buffer list private & modify slice type cast behaviour
2019-05-15 17:47:28 +01:00
Awn Umar
60cf168a6e
Prefer panic to nil returns
2019-05-14 11:41:31 +01:00
Awn Umar
3c486c6cb9
Use variable length canaries with 32 <= len(canary) <= ~pagesize
2019-05-13 17:27:12 +01:00
Awn Umar
a684db30dc
Make data field unexported in core; use method instead
2019-05-13 02:45:54 +01:00
Awn Umar
c93b1b069c
patchset: some changes and streamlining
...
There are some known issues in this code at the moment and parts of the frontend API exist have not yet been stabalised or tested.
2019-05-01 18:13:17 +01:00
Awn Umar
8740253ea8
some improvements to errors
2019-03-21 22:28:44 +00:00
Awn Umar
5ec2b2fbe5
refactor: move buffer related functions into method fold
2019-03-21 20:30:09 +00:00
Awn Umar
a6ccf280ec
api: ported data representation api and implemented basic seal/open functionality in frontend
...
Still need to write tests.
2019-03-21 05:34:28 +00:00
Awn Umar
fbef9a3b39
Rewrite and refactor. Core functionality moved to submodule. Many fixes and improvements. Todo: re-write frontend
2019-02-24 19:52:41 +00:00