Skip to content

Dynamic array in C. Intended for Windows kernel development.

License

Notifications You must be signed in to change notification settings

gcakir/Dynamic-Array-Kernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic-Array-Kernel

Dynamic array for windows kernel development. I recently had to develop something similar to STL vector, but compatible in kernel mode, since I had chunks of unknown sizes coming in that I had to parse. So, I created this. I couldn't find anything like this anywhere online, except for GLib's GArray and this.

Usage

BYTE_ARRAY arr;
InitByteArray( &arr );

AppendElementsByteArray( &arr, (PVOID)someBuffer, (ULONG)someBufferLength );

FreeByteArray( &arr );

License

Copyright (C) 2016 dude719, GNU GLib, and Najaf Ali

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Dynamic array in C. Intended for Windows kernel development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.3%
  • Objective-C 18.7%