safeclib
libredwg
safeclib | libredwg | |
---|---|---|
8 | 6 | |
311 | 854 | |
- | 2.9% | |
7.0 | 9.8 | |
18 days ago | 2 days ago | |
C | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
safeclib
-
LLVM's Libc Gets Much Faster memcpy For RISC-V
Of course assembler spezializations are an anti-pattern, because the optimizer should be fixed to do it much better. Better C code is often 2x faster than hand optimized assembler.
Eg my C memcpy with inlined and vectorized clang beats glibc or gcc memcpy in assembler easily. https://github.com/rurban/safeclib/blob/master/tests/perf_me...
-
Site with common coding mistakes that cause security threats with code examples?
+1 This along with https://github.com/rurban/safeclib (and its forks/derivatives).
- Safeclib – C11 Annex K implementation
-
What are the major dialects of C nowadays?
I have yet to look into Annex K. It didn't seem to gain much traction. Some people at Red Hat wrote a field experience report about it. I recently discovered an implementation of Annex K functions that claims to be pretty portable, safeclib.
-
memmove_s?
See my testsuite and remarks at https://github.com/rurban/safeclib/blob/master/doc/libc-overview.md , esp. towards the windows implementation
- Why does Windows 10 run faster than Fedora?
-
A 100LOC C impl of memset, that is faster than glibc's
I do it because nobody else implemented a secure memset. What they call secure is just avoiding that the compiler ignores it. A secure memset also cleans the caches with a memory barrier, so that meltdown cannot read it.
explicit_bzero and it's numerous variants are not only insecure, but also slow. (byte wise!)
Only safelibc has a secure memset_s. https://github.com/rurban/safeclib/blob/master/tests/perf_me...
libredwg
-
Memory leak proof every C program
I have a much better and oracti al solution: https://github.com/LibreDWG/libredwg/blob/7d9fc3da44bbdb60a4...
free is way too slow if not needed, so detect valgrind via its API. Just on valgrind to the unnecessary free dance. ASAN's memleak detector is disabled via its env.
Perl5 does its final destruction similarly, only when it has important destructors (like IO, DB handles and such) to call.
-
OSS-Fuzz – continuous fuzzing for open source software
Now even for your local github action:
https://github.com/LibreDWG/libredwg/blob/master/.github/wor...
-
Search the contents of DWG files with Python using OCR
Behind the scenes we’re using the open source LibreDWG library to run a number of AutoCAD native commands such as DATAEXTRACTION.
-
Ask HN: What are some interesting examples of Prolog?
I use it for reverse engineering unknown struct layouts for DWG classes. A field packing problem.
I'm using picat, a better Prolog dialect, and generate the facts automatically from C to generate the field layouts via picat automatically.
https://github.com/LibreDWG/libredwg/blob/master/examples/AC...
optimization problems as in compilers are extremely natural in Prolog.
- Why does Windows 10 run faster than Fedora?
- Want to use FreeCad 0.19.1 with libredwg - what do i do with libredwg-0.12.3.4270-win64.zip
What are some alternatives?
memset_benchmark - This repository contains high-performance implementations of memset and memcpy in assembly.
LibreCAD - LibreCAD is a cross-platform 2D CAD program written in C++17. It can read DXF/DWG files and can write DXF/PDF/SVG files. It supports point/line/circle/ellipse/parabola/spline primitives. The user interface is highly customizable, and has dozens of translations.
qemu
FreeCAD - This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
gcc
libfive - Infrastructure for solid modeling
libu8ident - unicode security guidelines for identifiers
fosscad-repo - Official FOSSCAD Library Repository
fancy-memset - small, fast memset based on microsoft's design
CadZinho - Minimalist computer aided design (CAD) software
copies-and-fills
terminusdb - TerminusDB is a distributed database with a collaboration model