Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This maintenance release of
libsandbox
comes with several improvements and fixes.improved
proc_dump()
andSandbox.dump()
for error differentiationthe improved proc_dump() can dump a memory block of specified size
instead of one machine word at at time. it has also been optimized to fail
gracefully in case of trying to inspect bad address for syscall arguments.
the pythonic wrapper Sandbox.dump() returns
None
on such failures forbetter error differentiation thus resolving issue Error differentiation for memory dump #8
fallback to hybrid sync/async profiling
the full asynchronous profiling introduced in 0.3.5-2 may fail to update
the resource usage of some very short tasks and leave incomplete statistics.
the resumed (and thoroughly refactored) hybrid profiling makes sure to update
stat before dispatching events and fixes issue Incomplete statistics for very short tasks #9
prevent program overrun in
trace_kill()
certain linux kernels may leave a SIGKILLed program to overrun for a few
instructions; and the overrun may lead to undesirable side effects or even
security risk. the improved trace_kill() performs opcode flush and syscall
replacement to eliminate risky side effects.
release of portable testing framework
a portable test suite has been included in this release. more than 50 test
cases has been ported from the internal quality control process of libsandbox
and wrapped in python's unittest framework. the test suite serves both as
a verification tool and a comprehensive demo for libsandbox and pysandbox
revised sample programs to support mixed linux32/64 abi