Posts by
LLDB restoration and return to ptrace...
I\'ve managed to unbreak the LLDB debugger as much as possible with the current kernel
and hit problems with ptrace(2) that are causing issues with
further work on proper NetBSD support.
Meanwhile, I\'ve upstreamed all the planned NetBSD patches to sanitizers and helped other BSDs to gain better or initial support.
LLDB
Since the last time [...]
The LLVM Sanitizers stage accomplishe...
I\'ve managed to get the Memory Sanitizer to work for the elementary base system utilities, like ps(1), awk(1) and ksh(1).
This means that the toolchain is ready for tests and improvements.
I\'ve iterated over the basesystem utilities and I looked for bugs, both in programs and in sanitizers.
The number of detected bugs in the userland progra [...]
The LLVM Memory Sanitizer support wor...
In the past 31 days, I\'ve managed to get the core functionality of MSan to work.
This is an uninitialized memory usage detector.
MSan is a special sanitizer because it requires knowledge of every entry to the basesystem library and every entry to the kernel through public interfaces.
This is mandatory in order to mark memory regions as initi [...]
The LLVM Memory Sanitizer support wor...
In the past 31 days, I\'ve managed to get the core functionality of MSan to work.
This is an uninitialized memory usage detector.
MSan is a special sanitizer because it requires knowledge of every entry to the basesystem library and every entry to the kernel through public interfaces.
This is mandatory in order to mark memory regions as initi [...]
The LLVM Thread Sanitizer has been po...
During the past month I\'ve finished my work on TSan for NetBSD/amd64.
There are still few minor issues, although the Sanitizer is already suitable for real applications and is stable.
I was able to build real applications like LLDB against TSan and get it to work to find real threading problems.
The process of stabilization and fixing TSan [...]
The LLVM Thread Sanitizer has been po...
During the past month I\'ve finished my work on TSan for NetBSD/amd64.
There are still few minor issues, although the Sanitizer is already suitable for real applications and is stable.
I was able to build real applications like LLDB against TSan and get it to work to find real threading problems.
The process of stabilization and fixing TSan [...]
One year checkpoint and Thread Saniti...
The past year has been started with bugfixes and the development of regression tests for ptrace(2) and related kernel features,
as well as the continuation of bringing LLDB support and LLVM sanitizers (ASan + UBsan and partial TSan + Msan) to NetBSD.
My plan for the next year is to finish implementing TSan and MSan support, followed by a lon [...]
One year checkpoint and Thread Saniti...
The past year has been started with bugfixes and the development of regression tests for ptrace(2) and related kernel features,
as well as the continuation of bringing LLDB support and LLVM sanitizers (ASan + UBsan and partial TSan + Msan) to NetBSD.
My plan for the next year is to finish implementing TSan and MSan support, followed by a lon [...]
EuroBSDcon-2017 Paris
This year the annual EuroBSDcon event took place in Paris (September 21st-24th).
There were BSD summits, tutorials and talks, including NetBSD & pkgsrc ones.
Tutorials
I came to Paris on Wednesday in order to participate in tutorials:
Thursday - DTrace for Developers: no more printfs - by George Neville-Neil
Friday - How to untangle yo [...]
EuroBSDcon-2017 Paris
This year the annual EuroBSDcon event took place in Paris (September 21st-24th).
There were BSD summits, tutorials and talks, including NetBSD & pkgsrc ones.
Tutorials
I came to Paris on Wednesday in order to participate in tutorials:
Thursday - DTrace for Developers: no more printfs - by George Neville-Neil
Friday - How to untangle yo [...]
NetBSD buildbot in the binutils-gdb p...
The NetBSD Foundation supports projects that strive to ship the best possible support in developer-oriented software. This is not exclusive to LLVM, but also includes the more traditional GNU toolchain.
Traditionally, developers in distributions like NetBSD merge 3rd party sources upstream once in a while with major release bumps, like switc [...]
NetBSD buildbot in the binutils-gdb p...
The NetBSD Foundation supports projects that strive to ship the best possible support in developer-oriented software. This is not exclusive to LLVM, but also includes the more traditional GNU toolchain.
Traditionally, developers in distributions like NetBSD merge 3rd party sources upstream once in a while with major release bumps, like switc [...]
Mercurial mirror on Bitbucket
Joerg Sonnenberger has announced a new set of mirrored repositories.
You can find Mercurial versions of src, pkgsrc and xsrc under
https://bitbucket.org/netbsd/src
https://bitbucket.org/netbsd/pkgsrc
and
https://bitbucket.org/netbsd/xsrc
The same rules as for the fossil and github repositories apply, i.e.
there may be occasional glitch [...]
Mercurial mirror on Bitbucket
Joerg Sonnenberger has announced a new set of mirrored repositories.
You can find Mercurial versions of src, pkgsrc and xsrc under
https://bitbucket.org/netbsd/src
https://bitbucket.org/netbsd/pkgsrc
and
https://bitbucket.org/netbsd/xsrc
The same rules as for the fossil and github repositories apply, i.e.
there may be occasional glitch [...]
LLVM libFuzzer and SafeStack ported t...
This month I\'ve finally finished upstreaming NetBSD support in ASan and UBsan.
For better coverage of the sanitizers and on user request I\'ve ported libFuzzer and SafeStack.
There are mutual dependencies between the compiler-rt features.
NetBSD after sorting out msan and tsan shall get all the remaining ones enabled.
This is open topic afte [...]
LLVM libFuzzer and SafeStack ported t...
This month I\'ve finally finished upstreaming NetBSD support in ASan and UBsan.
For better coverage of the sanitizers and on user request I\'ve ported libFuzzer and SafeStack.
There are mutual dependencies between the compiler-rt features.
NetBSD after sorting out msan and tsan shall get all the remaining ones enabled.
This is open topic afte [...]
LLVM, Clang and compiler-rt support e...
In the last month I started with upstream of the code for sanitizers:
the common layer and ubsan.
I worked also on the elimination of unexpected failures in LLVM and Clang.
I\'ve managed to achieve, with a pile of local patches,
the number of 0 unexpected bugs within LLVM (check-llvm) and 3 unexpected bugs within Clang (check-clang)
(however [...]
LLVM, Clang and compiler-rt support e...
In the last month I started with upstream of the code for sanitizers:
the common layer and ubsan.
I worked also on the elimination of unexpected failures in LLVM and Clang.
I\'ve managed to achieve, with a pile of local patches,
the number of 0 unexpected bugs within LLVM (check-llvm) and 3 unexpected bugs within Clang (check-clang)
(however [...]
LLVM asan and ubsan on NetBSD
Over the last 30 days I was focusing on getting the environment to enable LLVM sanitizers and the Clang compiler on NetBSD.
Meanwhile I pushed forward generic parts that were needing enhancements around pkgsrc and LLVM in general to ease the future LLDB work.
dogfood
When I have realized that in order to work on the LLVM sanitizers I need [...]
LLVM asan and ubsan on NetBSD
Over the last 30 days I was focusing on getting the environment to enable LLVM sanitizers and the Clang compiler on NetBSD.
Meanwhile I pushed forward generic parts that were needing enhancements around pkgsrc and LLVM in general to ease the future LLDB work.
dogfood
When I have realized that in order to work on the LLVM sanitizers I need [...]