memfrob
Section: C Library Functions (3)
Updated: 15 décembre 2022
Index
Return to Main Contents
NOM
memfrob - frobnicate (obfuscate) a memory area
BIBLIOTHÈQUE
Bibliothèque C standard (libc, -lc)
SYNOPSIS
#define _GNU_SOURCE /* Consultez feature_test_macros(7) */
#include <string.h>
void *memfrob(void s[.n], size_t n);
DESCRIPTION
The memfrob() function obfuscates the first n bytes of the memory
area s by exclusive-ORing each character with the number 42. The effect
can be reversed by using memfrob() on the obfuscated memory area.
Notez que cette fonction n'est pas vraiment un cryptage, car la constante du
OU exclusif est fixe. Elle est simplement utile pour cacher des chaînes de
texte clair.
VALEUR RENVOYÉE
The memfrob() function returns a pointer to the obfuscated memory area.
ATTRIBUTS
Pour une explication des termes utilisés dans cette section, consulter
attributes(7).
Interface | Attribut | Valeur
|
memfrob()
| Sécurité des threads | MT-Safe
|
STANDARDS
La fonction memfrob() est spécifique à la bibliothèque GNU C.
VOIR AUSSI
bstring(3), strfry(3)
TRADUCTION
La traduction française de cette page de manuel a été créée par
Christophe Blaess <https://www.blaess.fr/christophe/>,
Stéphan Rafin <stephan.rafin@laposte.net>,
Thierry Vignaud <tvignaud@mandriva.com>,
François Micaux,
Alain Portal <aportal@univ-montp2.fr>,
Jean-Philippe Guérard <fevrier@tigreraye.org>,
Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>,
Julien Cristau <jcristau@debian.org>,
Thomas Huriaux <thomas.huriaux@gmail.com>,
Nicolas François <nicolas.francois@centraliens.net>,
Florentin Duneau <fduneau@gmail.com>,
Simon Paillard <simon.paillard@resel.enst-bretagne.fr>,
Denis Barbier <barbier@debian.org>,
David Prévot <david@tilapin.org>
et
Frédéric Hantrais <fhantrais@gmail.com>
Cette traduction est une documentation libre ; veuillez vous reporter à la
GNU General Public License version 3
concernant les conditions de copie et
de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.
Si vous découvrez un bogue dans la traduction de cette page de manuel,
veuillez envoyer un message à
Index
- NOM
-
- BIBLIOTHÈQUE
-
- SYNOPSIS
-
- DESCRIPTION
-
- VALEUR RENVOYÉE
-
- ATTRIBUTS
-
- STANDARDS
-
- VOIR AUSSI
-
- TRADUCTION
-
This document was created by
man2html,
using the manual pages.
Time: 15:52:39 GMT, May 22, 2024