| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006, 2013. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012, 2013. |
| 18 |
# Grégoire Scano <[email protected]>, 2021. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.30\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:22+0200\n" |
| 23 |
"PO-Revision-Date: 2026-04-04 12:35+0200\n" |
| 24 |
"Last-Translator: Grégoire Scano <[email protected]>\n" |
| 25 |
"Language-Team: French <[email protected]>\n" |
| 26 |
"Language: fr\n" |
| 27 |
"MIME-Version: 1.0\n" |
| 28 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 29 |
"Content-Transfer-Encoding: 8bit\n" |
| 30 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 31 |
"X-Generator: Lokalize 25.04.0\n" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "dl_iterate_phdr" |
| 38 |
msgstr "dl_iterate_phdr" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-08" |
| 45 |
msgstr "8 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOM" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "dl_iterate_phdr - walk through list of shared objects" |
| 64 |
msgstr "dl_iterate_phdr – Parcourir une liste d'objets partagés" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "LIBRARY" |
| 71 |
msgstr "BIBLIOTHÈQUE" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 75 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 77 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "SYNOPSIS" |
| 84 |
msgstr "SYNOPSIS" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "" |
| 91 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 92 |
"B<#include E<lt>link.hE<gt>>\n" |
| 93 |
msgstr "" |
| 94 |
"B<#define _GNU_SOURCE> /* Consultez feature_test_macros(7) */\n" |
| 95 |
"B<#include E<lt>link.hE<gt>>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 99 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "" |
| 102 |
"B<int dl_iterate_phdr(>\n" |
| 103 |
"B< typeof(int (struct dl_phdr_info *>I<info>B<, size_t >I<size>B<, void *>I<data>B<))>\n" |
| 104 |
"B< *>I<callback>B<,>\n" |
| 105 |
"B< void *>I<data>B<);>\n" |
| 106 |
msgstr "" |
| 107 |
"B<int dl_iterate_phdr(>\n" |
| 108 |
"B< typeof(int (struct dl_phdr_info *>I<info>B<, size_t >I<size>B<, void *>I<data>B<))>\n" |
| 109 |
"B< *>I<callback>B<,>\n" |
| 110 |
"B< void *>I<data>B<);>\n" |
| 111 |
|
| 112 |
#. type: SH |
| 113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 115 |
#, no-wrap |
| 116 |
msgid "DESCRIPTION" |
| 117 |
msgstr "DESCRIPTION" |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"The B<dl_iterate_phdr>() function allows an application to inquire at run " |
| 124 |
"time to find out which shared objects it has loaded, and the order in which " |
| 125 |
"they were loaded." |
| 126 |
msgstr "" |
| 127 |
"La fonction B<dl_iterate_phdr>() permet à une application de s'informer, " |
| 128 |
"lors de son exécution, des objets partagés qu'elle a chargés et de l'ordre " |
| 129 |
"dans lequel ils ont été chargés." |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"The B<dl_iterate_phdr>() function walks through the list of an " |
| 136 |
"application's shared objects and calls the function I<callback> once for " |
| 137 |
"each object, until either all shared objects have been processed or " |
| 138 |
"I<callback> returns a nonzero value." |
| 139 |
msgstr "" |
| 140 |
"La fonction B<dl_iterate_phdr>() parcourt la liste des objets partagés par " |
| 141 |
"une application et appelle la fonction I<callback> sur chaque objet jusqu'à " |
| 142 |
"ce que tous les objets partagés aient été traités ou que la fonction " |
| 143 |
"I<callback> ait renvoyé une valeur non nulle." |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
msgid "" |
| 149 |
"Each call to I<callback> receives three arguments: I<info>, which is a " |
| 150 |
"pointer to a structure containing information about the shared object; " |
| 151 |
"I<size>, which is the size of the structure pointed to by I<info>; and " |
| 152 |
"I<data>, which is a copy of whatever value was passed by the calling program " |
| 153 |
"as the second argument (also named I<data>) in the call to " |
| 154 |
"B<dl_iterate_phdr>()." |
| 155 |
msgstr "" |
| 156 |
"Chaque appel de I<callback> prend trois paramètres\\ : I<info> qui est un " |
| 157 |
"pointeur vers une structure contenant des informations sur les objets " |
| 158 |
"partagés\\ ; I<size> qui est la taille de la structure pointée par " |
| 159 |
"I<info>\\ ; et I<data> qui est une copie de toute valeur qui est passée par " |
| 160 |
"le programme appelant dans le second argument (également nommé I<data>) lors " |
| 161 |
"de l'appel de B<dl_iterate_phdr>()." |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "The I<info> argument is a structure of the following type:" |
| 167 |
msgstr "L'argument I<info> est une structure du type suivant\\ :" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 171 |
#: opensuse-tumbleweed |
| 172 |
#, no-wrap |
| 173 |
msgid "" |
| 174 |
"struct dl_phdr_info {\n" |
| 175 |
" ElfW(Addr) dlpi_addr; /* Base address of object */\n" |
| 176 |
" const char *dlpi_name; /* (Null-terminated) name of\n" |
| 177 |
" object */\n" |
| 178 |
" const ElfW(Phdr) *dlpi_phdr; /* Pointer to array of\n" |
| 179 |
" ELF program headers\n" |
| 180 |
" for this object */\n" |
| 181 |
" ElfW(Half) dlpi_phnum; /* # of items in \\f[I]dlpi_phdr\\fR */\n" |
| 182 |
"\\&\n" |
| 183 |
" /* The following fields were added in glibc 2.4, after the first\n" |
| 184 |
" version of this structure was available. Check the \\f[I]size\\fR\n" |
| 185 |
" argument passed to the dl_iterate_phdr callback to determine\n" |
| 186 |
" whether or not each later member is available. */\n" |
| 187 |
"\\&\n" |
| 188 |
" unsigned long long dlpi_adds;\n" |
| 189 |
" /* Incremented when a new object may\n" |
| 190 |
" have been added */\n" |
| 191 |
" unsigned long long dlpi_subs;\n" |
| 192 |
" /* Incremented when an object may\n" |
| 193 |
" have been removed */\n" |
| 194 |
" size_t dlpi_tls_modid;\n" |
| 195 |
" /* If there is a PT_TLS segment, its module\n" |
| 196 |
" ID as used in TLS relocations, else zero */\n" |
| 197 |
" void *dlpi_tls_data;\n" |
| 198 |
" /* The address of the calling thread\\[aq]s instance\n" |
| 199 |
" of this module\\[aq]s PT_TLS segment, if it has\n" |
| 200 |
" one and it has been allocated in the calling\n" |
| 201 |
" thread, otherwise a null pointer */\n" |
| 202 |
"};\n" |
| 203 |
msgstr "" |
| 204 |
"struct dl_phdr_info {\n" |
| 205 |
" ElfW(Addr) dlpi_addr; /* Adresse de base de l'objet */\n" |
| 206 |
" const char *dlpi_name; /* Nom de l'objet (terminé par\n" |
| 207 |
" l'octet NULL final */\n" |
| 208 |
" const ElfW(Phdr) *dlpi_phdr; /* Pointeur vers un tableau des\n" |
| 209 |
" en-têtes ELF du programme\n" |
| 210 |
" de cet objet */\n" |
| 211 |
" ElfW(Half) dlpi_phnum; /* Nombre d'éléments dans\n" |
| 212 |
" \\f[I]dlpi_phdr\\fR */\n" |
| 213 |
"\\&\n" |
| 214 |
" /* Les champs suivants ont été ajoutés dans la version 2.4 de la glibc, après\n" |
| 215 |
" que la première version de cette structure a été disponible. Vérifier\n" |
| 216 |
" le paramètre \\f[I]size\\fR passé à l'appel dl_iterate_phdr pour\n" |
| 217 |
" déterminer si le dernier membre est ou non disponible. */\n" |
| 218 |
"\\&\n" |
| 219 |
" unsigned long long dlpi_adds;\n" |
| 220 |
" /* Incrémenté lorsqu'un nouvel objet\n" |
| 221 |
" peut avoir été ajouté. */\n" |
| 222 |
" unsigned long long dlpi_subs;\n" |
| 223 |
" /* Incrémenté lorsqu'un objet peut\n" |
| 224 |
" avoir été supprimé. */\n" |
| 225 |
" size_t dlpi_tls_modid;\n" |
| 226 |
" /* S'il y a un segment PT_TLS, son ID de module comme\n" |
| 227 |
" utilisé par les relocalisations TLS, zéro sinon. */\n" |
| 228 |
" void *dlpi_tls_data;\n" |
| 229 |
" /* L'adresse dans l'instance du thread appelant\n" |
| 230 |
" de ce segment PT_TLS du module, s'il en a un\n" |
| 231 |
" et s'il a été alloué dans le thread appelant,\n" |
| 232 |
" un pointeur NULL sinon. */\n" |
| 233 |
"};\n" |
| 234 |
|
| 235 |
#. type: Plain text |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
msgid "" |
| 239 |
"(The I<ElfW>() macro definition turns its argument into the name of an ELF " |
| 240 |
"data type suitable for the hardware architecture. For example, on a 32-bit " |
| 241 |
"platform, I<ElfW(Addr)> yields the data type name I<Elf32_Addr>. Further " |
| 242 |
"information on these types can be found in the I<E<lt>elf.hE<gt>> and " |
| 243 |
"I<E<lt>link.hE<gt>> header files.)" |
| 244 |
msgstr "" |
| 245 |
"La macro I<ElfW>() convertit son argument en un nom de type de données ELF " |
| 246 |
"adapté à l'architecture matérielle. Par exemple, sur un système 32 bits, " |
| 247 |
"ElfW(Addr) produit le type de données nommé Elf32_Addr. Des informations " |
| 248 |
"supplémentaires sur ces types peuvent être trouvées dans les fichiers d'en-" |
| 249 |
"tête I<E<lt>elf.hE<gt>> et I<E<lt>link.hE<gt>>." |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
msgid "" |
| 255 |
"The I<dlpi_addr> field indicates the base address of the shared object " |
| 256 |
"(i.e., the difference between the virtual memory address of the shared " |
| 257 |
"object and the offset of that object in the file from which it was loaded). " |
| 258 |
"The I<dlpi_name> field is a null-terminated string giving the pathname from " |
| 259 |
"which the shared object was loaded." |
| 260 |
msgstr "" |
| 261 |
"Le champ I<dlpi_addr> indique l'adresse de base de l'objet partagé (la " |
| 262 |
"différence entre l'adresse en mémoire virtuelle de l'objet partagé et le " |
| 263 |
"décalage avec cet objet dans le fichier depuis lequel il a été chargé). Le " |
| 264 |
"champ I<dlpi_name> est une chaîne de caractères terminée par un caractère " |
| 265 |
"nul indiquant le chemin à partir duquel l'objet partagé a été chargé." |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "" |
| 271 |
"To understand the meaning of the I<dlpi_phdr> and I<dlpi_phnum> fields, we " |
| 272 |
"need to be aware that an ELF shared object consists of a number of segments, " |
| 273 |
"each of which has a corresponding program header describing the segment. " |
| 274 |
"The I<dlpi_phdr> field is a pointer to an array of the program headers for " |
| 275 |
"this shared object. The I<dlpi_phnum> field indicates the size of this " |
| 276 |
"array." |
| 277 |
msgstr "" |
| 278 |
"Pour comprendre le sens des champs I<dlpi_phdr> et I<dlpi_phnum>, il faut se " |
| 279 |
"rendre compte que les objets partagés ELF sont constitué d'un certain nombre " |
| 280 |
"de segments, chacun d'eux possédant un en-tête décrivant le segment. Le " |
| 281 |
"champ I<dlpi_phdr> est un pointeur vers un tableau des en-têtes du programme " |
| 282 |
"de cet objet partagé. Le champ I<dlpi_phnum> est la taille de ce tableau." |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
msgid "These program headers are structures of the following form:" |
| 288 |
msgstr "Ces en-têtes de programme sont structurés sous la forme suivantes\\ :" |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
#, no-wrap |
| 294 |
msgid "" |
| 295 |
"typedef struct {\n" |
| 296 |
" Elf32_Word p_type; /* Segment type */\n" |
| 297 |
" Elf32_Off p_offset; /* Segment file offset */\n" |
| 298 |
" Elf32_Addr p_vaddr; /* Segment virtual address */\n" |
| 299 |
" Elf32_Addr p_paddr; /* Segment physical address */\n" |
| 300 |
" Elf32_Word p_filesz; /* Segment size in file */\n" |
| 301 |
" Elf32_Word p_memsz; /* Segment size in memory */\n" |
| 302 |
" Elf32_Word p_flags; /* Segment flags */\n" |
| 303 |
" Elf32_Word p_align; /* Segment alignment */\n" |
| 304 |
"} Elf32_Phdr;\n" |
| 305 |
msgstr "" |
| 306 |
"typedef struct\n" |
| 307 |
" {\n" |
| 308 |
" Elf32_Word p_type; /* Type de segment */\n" |
| 309 |
" Elf32_Off p_offset; /* Décalage du fichier de segment (?) */\n" |
| 310 |
" Elf32_Addr p_vaddr; /* Adresse virtuelle du segment */\n" |
| 311 |
" Elf32_Addr p_paddr; /* Adresse physique du segment */\n" |
| 312 |
" Elf32_Word p_filesz; /* Taille du segment dans le fichier */\n" |
| 313 |
" Elf32_Word p_memsz; /* Taille du segment en mémoire */\n" |
| 314 |
" Elf32_Word p_flags; /* Drapeau du segment */\n" |
| 315 |
" Elf32_Word p_align; /* Alignement du segment */\n" |
| 316 |
"} Elf32_Phdr;\n" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "" |
| 322 |
"Note that we can calculate the location of a particular program header, " |
| 323 |
"I<x>, in virtual memory using the formula:" |
| 324 |
msgstr "" |
| 325 |
"Notez que la position en mémoire virtuelle d'un en-tête de programme, I<x>, " |
| 326 |
"est calculée avec la formule suivante\\ :" |
| 327 |
|
| 328 |
#. type: Plain text |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
#, no-wrap |
| 332 |
msgid "addr == info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[x].p_vaddr;\n" |
| 333 |
msgstr "addr == info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[x].p_vaddr;\n" |
| 334 |
|
| 335 |
#. type: Plain text |
| 336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
msgid "" |
| 339 |
"Possible values for I<p_type> include the following (see I<E<lt>elf.hE<gt>> " |
| 340 |
"for further details):" |
| 341 |
msgstr "" |
| 342 |
"Les valeurs possibles pour I<p_type> incluent les suivantes (voir " |
| 343 |
"I<E<lt>elf.hE<gt>> pour plus de détails) :" |
| 344 |
|
| 345 |
#. For PT_GNU_STACK, see http://www.airs.com/blog/archives/518 |
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
#, no-wrap |
| 350 |
msgid "" |
| 351 |
"#define PT_LOAD 1 /* Loadable program segment */\n" |
| 352 |
"#define PT_DYNAMIC 2 /* Dynamic linking information */\n" |
| 353 |
"#define PT_INTERP 3 /* Program interpreter */\n" |
| 354 |
"#define PT_NOTE 4 /* Auxiliary information */\n" |
| 355 |
"#define PT_SHLIB 5 /* Reserved */\n" |
| 356 |
"#define PT_PHDR 6 /* Entry for header table itself */\n" |
| 357 |
"#define PT_TLS 7 /* Thread-local storage segment */\n" |
| 358 |
"#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */\n" |
| 359 |
"#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */\n" |
| 360 |
"#define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */\n" |
| 361 |
msgstr "" |
| 362 |
"#define PT_LOAD 1 /* Segment de programme chargeable */\n" |
| 363 |
"#define PT_DYNAMIC 2 /* Information d'édition de liens dynamiques */\n" |
| 364 |
"#define PT_INTERP 3 /* Interpréteur de programme */\n" |
| 365 |
"#define PT_NOTE 4 /* Information auxiliaire */\n" |
| 366 |
"#define PT_SHLIB 5 /* Réservé */\n" |
| 367 |
"#define PT_PHDR 6 /* Entrée pour la table d'en-tête elle même */\n" |
| 368 |
"#define PT_TLS 7 /* Segment de stockage local au thread */\n" |
| 369 |
"#define PT_GNU_EH_FRAME 0x6474e550 /* Segment GCC .eh_frame_hdr */\n" |
| 370 |
"#define PT_GNU_STACK 0x6474e551 /* Indique l'exécutabilité de la pile */\n" |
| 371 |
"#define PT_GNU_RELRO 0x6474e552 /* Lecture seule après relocalisation */\n" |
| 372 |
|
| 373 |
#. type: SH |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "RETURN VALUE" |
| 378 |
msgstr "VALEUR RENVOYÉE" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
msgid "" |
| 384 |
"The B<dl_iterate_phdr>() function returns whatever value was returned by " |
| 385 |
"the last call to I<callback>." |
| 386 |
msgstr "" |
| 387 |
"La fonction B<dl_iterate_phdr>() renvoie n'importe quelle valeur renvoyée " |
| 388 |
"par le dernier appel à I<callback>." |
| 389 |
|
| 390 |
#. type: SH |
| 391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
#, no-wrap |
| 394 |
msgid "ATTRIBUTES" |
| 395 |
msgstr "ATTRIBUTS" |
| 396 |
|
| 397 |
#. type: Plain text |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
msgid "" |
| 401 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 402 |
msgstr "" |
| 403 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 404 |
"B<attributes>(7)." |
| 405 |
|
| 406 |
#. type: tbl table |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "Interface" |
| 411 |
msgstr "Interface" |
| 412 |
|
| 413 |
#. type: tbl table |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, no-wrap |
| 417 |
msgid "Attribute" |
| 418 |
msgstr "Attribut" |
| 419 |
|
| 420 |
#. type: tbl table |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
#, no-wrap |
| 424 |
msgid "Value" |
| 425 |
msgstr "Valeur" |
| 426 |
|
| 427 |
#. type: tbl table |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
#, no-wrap |
| 431 |
msgid ".na\n" |
| 432 |
msgstr ".na\n" |
| 433 |
|
| 434 |
#. type: tbl table |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
#, no-wrap |
| 438 |
msgid ".nh\n" |
| 439 |
msgstr ".nh\n" |
| 440 |
|
| 441 |
#. type: tbl table |
| 442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 444 |
#, no-wrap |
| 445 |
msgid "B<dl_iterate_phdr>()" |
| 446 |
msgstr "B<dl_iterate_phdr>()" |
| 447 |
|
| 448 |
#. type: tbl table |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
#, no-wrap |
| 452 |
msgid "Thread safety" |
| 453 |
msgstr "Sécurité des threads" |
| 454 |
|
| 455 |
#. type: tbl table |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
#, no-wrap |
| 459 |
msgid "MT-Safe" |
| 460 |
msgstr "MT-Safe" |
| 461 |
|
| 462 |
#. type: SH |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
#, no-wrap |
| 466 |
msgid "VERSIONS" |
| 467 |
msgstr "VERSIONS" |
| 468 |
|
| 469 |
#. type: Plain text |
| 470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 472 |
msgid "" |
| 473 |
"Various other systems provide a version of this function, although details " |
| 474 |
"of the returned I<dl_phdr_info> structure differ. On the BSDs and Solaris, " |
| 475 |
"the structure includes the fields I<dlpi_addr>, I<dlpi_name>, I<dlpi_phdr>, " |
| 476 |
"and I<dlpi_phnum> in addition to other implementation-specific fields." |
| 477 |
msgstr "" |
| 478 |
"De nombreux autres systèmes fournissent une version de cette fonction bien " |
| 479 |
"que les détails de la structure I<dl_phdr_info> soient différents. Sur les " |
| 480 |
"BSD et Solaris, la structure inclut les champs I<dlpi_addr>, I<dlpi_name>, " |
| 481 |
"I<dlpi_phdr> et I<dlpi_phnum> en plus d'autres champs spécifiques à chaque " |
| 482 |
"implémentation." |
| 483 |
|
| 484 |
#. type: Plain text |
| 485 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 486 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 487 |
msgid "" |
| 488 |
"Future versions of the C library may add further fields to the " |
| 489 |
"I<dl_phdr_info> structure; in that event, the I<size> argument provides a " |
| 490 |
"mechanism for the callback function to discover whether it is running on a " |
| 491 |
"system with added fields." |
| 492 |
msgstr "" |
| 493 |
"Les futures versions de la bibliothèque C peuvent ajouter d'autres champs à " |
| 494 |
"la structure I<dl_phdr_info> ; dans ce cas, l'argument I<size> fournit un " |
| 495 |
"mécanisme pour que la fonction appelée sache si elle est exécutée sur un " |
| 496 |
"système possédant des champs supplémentaires." |
| 497 |
|
| 498 |
#. type: SH |
| 499 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 500 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 501 |
#, no-wrap |
| 502 |
msgid "STANDARDS" |
| 503 |
msgstr "NORMES" |
| 504 |
|
| 505 |
#. type: Plain text |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
msgid "None." |
| 509 |
msgstr "Aucune." |
| 510 |
|
| 511 |
#. type: SH |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
#, no-wrap |
| 515 |
msgid "HISTORY" |
| 516 |
msgstr "HISTORIQUE" |
| 517 |
|
| 518 |
#. type: Plain text |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
msgid "glibc 2.2.4." |
| 522 |
msgstr "glibc 2.2.4." |
| 523 |
|
| 524 |
#. type: SH |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "NOTES" |
| 529 |
msgstr "NOTES" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
msgid "" |
| 535 |
"The first object visited by I<callback> is the main program. For the main " |
| 536 |
"program, the I<dlpi_name> field will be an empty string." |
| 537 |
msgstr "" |
| 538 |
"Le premier objet visité par I<callback> est le programme principal. Pour ce " |
| 539 |
"programme, le champ I<dlpi_name> est une chaîne de caractères vide." |
| 540 |
|
| 541 |
#. type: SH |
| 542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 544 |
#, no-wrap |
| 545 |
msgid "EXAMPLES" |
| 546 |
msgstr "EXEMPLES" |
| 547 |
|
| 548 |
#. type: Plain text |
| 549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 551 |
msgid "" |
| 552 |
"The following program displays a list of pathnames of the shared objects it " |
| 553 |
"has loaded. For each shared object, the program lists some information " |
| 554 |
"(virtual address, size, flags, and type) for each of the objects ELF " |
| 555 |
"segments." |
| 556 |
msgstr "" |
| 557 |
"Le programme suivant affiche la liste des chemins des objets partagés qu'il " |
| 558 |
"a chargé. Pour chaque objet partagé, le programme liste plusieurs " |
| 559 |
"informations (adresse virtuelle, taille, drapeaux et type) pour chacun des " |
| 560 |
"segments des objets ELF." |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
msgid "" |
| 566 |
"The following shell session demonstrates the output produced by the program " |
| 567 |
"on an x86-64 system. The first shared object for which output is displayed " |
| 568 |
"(where the name is an empty string) is the main program." |
| 569 |
msgstr "" |
| 570 |
"La session shell suivante montre la sortie produite sur un système x86-64. " |
| 571 |
"Le premier objet partagé pour lequel une sortie est affichée (où le nom est " |
| 572 |
"une chaîne de caractères vide) est le programme principal." |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 576 |
#: opensuse-tumbleweed |
| 577 |
#, no-wrap |
| 578 |
msgid "" |
| 579 |
"$B< ./a.out>;\n" |
| 580 |
"Name: \"\" (9 segments)\n" |
| 581 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 582 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 583 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 584 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 585 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 586 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 587 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 588 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 589 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 590 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 591 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 592 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 593 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 594 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 595 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 596 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 597 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 598 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 599 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 600 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 601 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 602 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 603 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 604 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 605 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 606 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 607 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 608 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 609 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 610 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 611 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 612 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 613 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 614 |
msgstr "" |
| 615 |
"$B< ./a.out>;\n" |
| 616 |
"Name: \"\" (9 segments)\n" |
| 617 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 618 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 619 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 620 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 621 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 622 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 623 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 624 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 625 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 626 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 627 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 628 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 629 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 630 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 631 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 632 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 633 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 634 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 635 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 636 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 637 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 638 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 639 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 640 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 641 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 642 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 643 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 644 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 645 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 646 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 647 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 648 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 649 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 650 |
|
| 651 |
#. type: SS |
| 652 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 653 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 654 |
#, no-wrap |
| 655 |
msgid "Program source" |
| 656 |
msgstr "Source du programme" |
| 657 |
|
| 658 |
#. type: Plain text |
| 659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 661 |
#, no-wrap |
| 662 |
msgid "" |
| 663 |
"#define _GNU_SOURCE\n" |
| 664 |
"#include E<lt>link.hE<gt>\n" |
| 665 |
"#include E<lt>stdint.hE<gt>\n" |
| 666 |
"#include E<lt>stdio.hE<gt>\n" |
| 667 |
"#include E<lt>stdlib.hE<gt>\n" |
| 668 |
"\\&\n" |
| 669 |
"static int\n" |
| 670 |
"callback(struct dl_phdr_info *info, size_t size, void *data)\n" |
| 671 |
"{\n" |
| 672 |
" char *type;\n" |
| 673 |
" int p_type;\n" |
| 674 |
"\\&\n" |
| 675 |
" printf(\"Name: \\[rs]\"%s\\[rs]\" (%d segments)\\[rs]n\", info-E<gt>dlpi_name,\n" |
| 676 |
" info-E<gt>dlpi_phnum);\n" |
| 677 |
"\\&\n" |
| 678 |
" for (size_t j = 0; j E<lt> info-E<gt>dlpi_phnum; j++) {\n" |
| 679 |
" p_type = info-E<gt>dlpi_phdr[j].p_type;\n" |
| 680 |
" type = (p_type == PT_LOAD) ? \"PT_LOAD\" :\n" |
| 681 |
" (p_type == PT_DYNAMIC) ? \"PT_DYNAMIC\" :\n" |
| 682 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 683 |
" (p_type == PT_NOTE) ? \"PT_NOTE\" :\n" |
| 684 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 685 |
" (p_type == PT_PHDR) ? \"PT_PHDR\" :\n" |
| 686 |
" (p_type == PT_TLS) ? \"PT_TLS\" :\n" |
| 687 |
" (p_type == PT_GNU_EH_FRAME) ? \"PT_GNU_EH_FRAME\" :\n" |
| 688 |
" (p_type == PT_GNU_STACK) ? \"PT_GNU_STACK\" :\n" |
| 689 |
" (p_type == PT_GNU_RELRO) ? \"PT_GNU_RELRO\" : NULL;\n" |
| 690 |
"\\&\n" |
| 691 |
" printf(\" %2zu: [%14p; memsz:%7jx] flags: %#jx; \", j,\n" |
| 692 |
" (void *) (info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[j].p_vaddr),\n" |
| 693 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_memsz,\n" |
| 694 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_flags);\n" |
| 695 |
" if (type != NULL)\n" |
| 696 |
" printf(\"%s\\[rs]n\", type);\n" |
| 697 |
" else\n" |
| 698 |
" printf(\"[other (%#x)]\\[rs]n\", p_type);\n" |
| 699 |
" }\n" |
| 700 |
"\\&\n" |
| 701 |
" return 0;\n" |
| 702 |
"}\n" |
| 703 |
"\\&\n" |
| 704 |
"int\n" |
| 705 |
"main(void)\n" |
| 706 |
"{\n" |
| 707 |
" dl_iterate_phdr(callback, NULL);\n" |
| 708 |
"\\&\n" |
| 709 |
" exit(EXIT_SUCCESS);\n" |
| 710 |
"}\n" |
| 711 |
msgstr "" |
| 712 |
"#define _GNU_SOURCE\n" |
| 713 |
"#include E<lt>link.hE<gt>\n" |
| 714 |
"#include E<lt>stdint.hE<gt>\n" |
| 715 |
"#include E<lt>stdio.hE<gt>\n" |
| 716 |
"#include E<lt>stdlib.hE<gt>\n" |
| 717 |
"\\&\n" |
| 718 |
"static int\n" |
| 719 |
"callback(struct dl_phdr_info *info, size_t size, void *data)\n" |
| 720 |
"{\n" |
| 721 |
" char *type;\n" |
| 722 |
" int p_type;\n" |
| 723 |
"\\&\n" |
| 724 |
" printf(\"Name: \\[rs]\"%s\\[rs]\" (%d segments)\\[rs]n\", info-E<gt>dlpi_name,\n" |
| 725 |
" info-E<gt>dlpi_phnum);\n" |
| 726 |
"\\&\n" |
| 727 |
" for (size_t j = 0; j E<lt> info-E<gt>dlpi_phnum; j++) {\n" |
| 728 |
" p_type = info-E<gt>dlpi_phdr[j].p_type;\n" |
| 729 |
" type = (p_type == PT_LOAD) ? \"PT_LOAD\" :\n" |
| 730 |
" (p_type == PT_DYNAMIC) ? \"PT_DYNAMIC\" :\n" |
| 731 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 732 |
" (p_type == PT_NOTE) ? \"PT_NOTE\" :\n" |
| 733 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 734 |
" (p_type == PT_PHDR) ? \"PT_PHDR\" :\n" |
| 735 |
" (p_type == PT_TLS) ? \"PT_TLS\" :\n" |
| 736 |
" (p_type == PT_GNU_EH_FRAME) ? \"PT_GNU_EH_FRAME\" :\n" |
| 737 |
" (p_type == PT_GNU_STACK) ? \"PT_GNU_STACK\" :\n" |
| 738 |
" (p_type == PT_GNU_RELRO) ? \"PT_GNU_RELRO\" : NULL;\n" |
| 739 |
"\\&\n" |
| 740 |
" printf(\" %2zu: [%14p; memsz:%7jx] flags: %#jx; \", j,\n" |
| 741 |
" (void *) (info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[j].p_vaddr),\n" |
| 742 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_memsz,\n" |
| 743 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_flags);\n" |
| 744 |
" if (type != NULL)\n" |
| 745 |
" printf(\"%s\\[rs]n\", type);\n" |
| 746 |
" else\n" |
| 747 |
" printf(\"[other (%#x)]\\[rs]n\", p_type);\n" |
| 748 |
" }\n" |
| 749 |
"\\&\n" |
| 750 |
" return 0;\n" |
| 751 |
"}\n" |
| 752 |
"\\&\n" |
| 753 |
"int\n" |
| 754 |
"main(void)\n" |
| 755 |
"{\n" |
| 756 |
" dl_iterate_phdr(callback, NULL);\n" |
| 757 |
"\\&\n" |
| 758 |
" exit(EXIT_SUCCESS);\n" |
| 759 |
"}\n" |
| 760 |
|
| 761 |
#. SRC END |
| 762 |
#. type: SH |
| 763 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 764 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 765 |
#, no-wrap |
| 766 |
msgid "SEE ALSO" |
| 767 |
msgstr "VOIR AUSSI" |
| 768 |
|
| 769 |
#. type: Plain text |
| 770 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 771 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 772 |
msgid "" |
| 773 |
"B<ldd>(1), B<objdump>(1), B<readelf>(1), B<dladdr>(3), B<dlopen>(3), " |
| 774 |
"B<elf>(5), B<ld.so>(8)" |
| 775 |
msgstr "" |
| 776 |
"B<ldd>(1), B<objdump>(1), B<readelf>(1), B<dladdr>(3), B<dlopen>(3), " |
| 777 |
"B<elf>(5), B<ld.so>(8)" |
| 778 |
|
| 779 |
#. type: Plain text |
| 780 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 781 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 782 |
msgid "" |
| 783 |
"I<Executable and Linking Format Specification>, available at various " |
| 784 |
"locations online." |
| 785 |
msgstr "" |
| 786 |
"« I<Executable and Linking Format Specification> » disponible en ligne à " |
| 787 |
"divers endroits." |
| 788 |
|
| 789 |
#. type: TH |
| 790 |
#: debian-trixie |
| 791 |
#, no-wrap |
| 792 |
msgid "2024-06-15" |
| 793 |
msgstr "15 juin 2024" |
| 794 |
|
| 795 |
#. type: TH |
| 796 |
#: debian-trixie |
| 797 |
#, no-wrap |
| 798 |
msgid "Linux man-pages 6.9.1" |
| 799 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 800 |
|
| 801 |
#. type: Plain text |
| 802 |
#: debian-trixie |
| 803 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 804 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 805 |
|
| 806 |
#. type: Plain text |
| 807 |
#: debian-trixie |
| 808 |
#, no-wrap |
| 809 |
msgid "" |
| 810 |
"B<int dl_iterate_phdr(>\n" |
| 811 |
"B< int (*>I<callback>B<)(struct dl_phdr_info *>I<info>B<,>\n" |
| 812 |
"B< size_t >I<size>B<, void *>I<data>B<),>\n" |
| 813 |
"B< void *>I<data>B<);>\n" |
| 814 |
msgstr "" |
| 815 |
"B<int dl_iterate_phdr(>\n" |
| 816 |
"B< int (*>I<callback>B<)(struct dl_phdr_info *>I<info>B<,>\n" |
| 817 |
"B< size_t >I<size>B<, void *>I<data>B<),>\n" |
| 818 |
"B< void *>I<data>B<);>\n" |
| 819 |
|
| 820 |
#. type: Plain text |
| 821 |
#: debian-trixie fedora-44 fedora-rawhide |
| 822 |
#, no-wrap |
| 823 |
msgid "" |
| 824 |
"struct dl_phdr_info {\n" |
| 825 |
" ElfW(Addr) dlpi_addr; /* Base address of object */\n" |
| 826 |
" const char *dlpi_name; /* (Null-terminated) name of\n" |
| 827 |
" object */\n" |
| 828 |
" const ElfW(Phdr) *dlpi_phdr; /* Pointer to array of\n" |
| 829 |
" ELF program headers\n" |
| 830 |
" for this object */\n" |
| 831 |
" ElfW(Half) dlpi_phnum; /* # of items in I<dlpi_phdr> */\n" |
| 832 |
"\\&\n" |
| 833 |
" /* The following fields were added in glibc 2.4, after the first\n" |
| 834 |
" version of this structure was available. Check the I<size>\n" |
| 835 |
" argument passed to the dl_iterate_phdr callback to determine\n" |
| 836 |
" whether or not each later member is available. */\n" |
| 837 |
"\\&\n" |
| 838 |
" unsigned long long dlpi_adds;\n" |
| 839 |
" /* Incremented when a new object may\n" |
| 840 |
" have been added */\n" |
| 841 |
" unsigned long long dlpi_subs;\n" |
| 842 |
" /* Incremented when an object may\n" |
| 843 |
" have been removed */\n" |
| 844 |
" size_t dlpi_tls_modid;\n" |
| 845 |
" /* If there is a PT_TLS segment, its module\n" |
| 846 |
" ID as used in TLS relocations, else zero */\n" |
| 847 |
" void *dlpi_tls_data;\n" |
| 848 |
" /* The address of the calling thread\\[aq]s instance\n" |
| 849 |
" of this module\\[aq]s PT_TLS segment, if it has\n" |
| 850 |
" one and it has been allocated in the calling\n" |
| 851 |
" thread, otherwise a null pointer */\n" |
| 852 |
"};\n" |
| 853 |
msgstr "" |
| 854 |
"struct dl_phdr_info {\n" |
| 855 |
" ElfW(Addr) dlpi_addr; /* Adresse de base de l'objet */\n" |
| 856 |
" const char *dlpi_name; /* Nom de l'objet (terminé par\n" |
| 857 |
" l'octet NULL final */\n" |
| 858 |
" const ElfW(Phdr) *dlpi_phdr; /* Pointeur vers un tableau des\n" |
| 859 |
" en-têtes ELF du programme\n" |
| 860 |
" de cet objet */\n" |
| 861 |
" ElfW(Half) dlpi_phnum; /* Nombre d'éléments dans \n" |
| 862 |
" I<dlpi_phdr> */\n" |
| 863 |
"\\&\n" |
| 864 |
" /* Les champs suivants ont été ajoutés dans la version 2.4 de la glibc, après\n" |
| 865 |
" que la première version de cette structure a été disponible. Vérifier\n" |
| 866 |
" le paramètre I<size> passé à l'appel dl_iterate_phdr pour déterminer\n" |
| 867 |
" si le dernier membre est ou non disponible. */\n" |
| 868 |
"\\&\n" |
| 869 |
" unsigned long long dlpi_adds;\n" |
| 870 |
" /* Incrémenté lorsqu'un nouvel objet\n" |
| 871 |
" peut avoir été ajouté. */\n" |
| 872 |
" unsigned long long dlpi_subs;\n" |
| 873 |
" /* Incrémenté lorsqu'un objet peut\n" |
| 874 |
" avoir été supprimé. */\n" |
| 875 |
" size_t dlpi_tls_modid;\n" |
| 876 |
" /* S'il y a un segment PT_TLS, son ID de module comme\n" |
| 877 |
" utilisé par les relocalisations TLS, zéro sinon. */\n" |
| 878 |
" void *dlpi_tls_data;\n" |
| 879 |
" /* L'adresse dans l'instance du thread appelant\n" |
| 880 |
" de ce segment PT_TLS du module, s'il en a un\n" |
| 881 |
" et s'il a été alloué dans le thread appelant,\n" |
| 882 |
" un pointeur NULL sinon. */\n" |
| 883 |
"};\n" |
| 884 |
|
| 885 |
#. type: Plain text |
| 886 |
#: debian-trixie fedora-44 fedora-rawhide |
| 887 |
#, no-wrap |
| 888 |
msgid "" |
| 889 |
"$ B<./a.out>\n" |
| 890 |
"Name: \"\" (9 segments)\n" |
| 891 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 892 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 893 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 894 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 895 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 896 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 897 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 898 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 899 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 900 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 901 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 902 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 903 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 904 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 905 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 906 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 907 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 908 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 909 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 910 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 911 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 912 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 913 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 914 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 915 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 916 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 917 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 918 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 919 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 920 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 921 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 922 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 923 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 924 |
msgstr "" |
| 925 |
"$ B<./a.out>\n" |
| 926 |
"Name: \"\" (9 segments)\n" |
| 927 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 928 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 929 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 930 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 931 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 932 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 933 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 934 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 935 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 936 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 937 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 938 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 939 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 940 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 941 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 942 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 943 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 944 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 945 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 946 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 947 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 948 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 949 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 950 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 951 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 952 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 953 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 954 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 955 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 956 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 957 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 958 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 959 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 960 |
|
| 961 |
#. type: TH |
| 962 |
#: fedora-44 fedora-rawhide |
| 963 |
#, no-wrap |
| 964 |
msgid "2024-12-13" |
| 965 |
msgstr "13 décembre 2024" |
| 966 |
|
| 967 |
#. type: TH |
| 968 |
#: fedora-44 fedora-rawhide |
| 969 |
#, no-wrap |
| 970 |
msgid "Linux man-pages 6.13" |
| 971 |
msgstr "Pages du manuel de Linux 6.13" |
| 972 |
|
| 973 |
#. type: TH |
| 974 |
#: mageia-cauldron |
| 975 |
#, no-wrap |
| 976 |
msgid "Linux man-pages 6.17" |
| 977 |
msgstr "Pages du manuel de Linux 6.17" |
| 978 |
|
| 979 |
#. type: TH |
| 980 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 981 |
#, no-wrap |
| 982 |
msgid "Linux man-pages (unreleased)" |
| 983 |
msgstr "Pages du manuel de Linux (non publiées)" |