Commit graph

6 commits

Author SHA1 Message Date
Rot127
4d291145d0
Convert all README's to markdown files. (#2863)
* Don't indent links and use https.
2026-02-14 13:56:07 +00:00
Rot127
40f54ce821
Add workflow to check for C code formatting and format all code with clang-format-17 (#2744)
* Add workflow to check for C formatting

Rename run-clang-tidy.sh for consistency with clang-format script

Don't align trailing comments.

It leads to unreproducable formatting.

Reformat some comments leading in-compilable up code after clang-format

Format generated compatibility header.

Add clang-format script

Be more verbose with clean-up scripts and fail early.

Pass clang-format via command line

Install clang-format for the HeaderPatcher

* Format code with clang-format-17
2025-08-27 08:50:50 +00:00
Michael Bikovitsky
d422c0242c Fix user data alignment in MEMBLOCK (#1471)
* Fix user data alignment in MEMBLOCK

Kernel memory allocations on Windows should be aligned on MEMORY_ALLOCATION_ALIGNMENT (16 bytes on x64 and 8 bytes on x86).

* Fix user data alignment in CS_WINKERNEL_MEMBLOCK
2019-05-09 10:24:47 +08:00
Quang Nguyễn
5c96743735 Fix an integer overflow issue (#871)
* provide a validity check to prevent against Integer overflow conditions

* fix some style issues.

* provide a validity check in malloc() function to prevent against integer overflow conditions

* missing Ntintsafe.h

* use tabs for indentation
2017-03-20 20:13:14 +08:00
Peter Hlavaty
5925d0cc62 vsnprintf fix
call nt!vsprintf_s
2014-06-02 21:48:30 +08:00
Nguyen Anh Quynh
937b28a0a7 add contrib/ directory 2014-05-31 12:07:25 +08:00