Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
GrupaDomanscyPublic archive

About

Couple lines of code used to "safely" allocate memory in C programs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDALLOC

Couple lines of code used internally by Grupa Domańscy company to "safely" allocate memory in C programs. It's slightly extended ruanchao's gist.

How it works

If you try to allocate memory with these functions, program will check if memory is available. If it's not, it terminates running process. Else, it returns a valid pointer.

Installation

make and sudo make install

Installation process tested on Fedora Workstation 37 x86_64 KDE Plasma
Kernel: 6.3.7-100.fc37.x86_64

About

Couple lines of code used to "safely" allocate memory in C programs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages