Debian Codegraph @

po/ru/man3/dl_iterate_phdr.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Yuri Kozlov <[email protected]>, 2012-2019.
5 # Иван Павлов <[email protected]>, 2017.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:22+0200\n"
10 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
11 "Last-Translator: Yuri Kozlov <[email protected]>\n"
12 "Language-Team: Russian <[email protected]>\n"
13 "Language: ru\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
18 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
19 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
20 "X-Generator: Lokalize 2.0\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, fuzzy, no-wrap
26 #| msgid "B<dl_iterate_phdr>()"
27 msgid "dl_iterate_phdr"
28 msgstr "B<dl_iterate_phdr>()"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8 февраля 2026 г."
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, fuzzy, no-wrap
40 #| msgid "Linux man-pages 6.17"
41 msgid "Linux man-pages 6.18"
42 msgstr "Справочные страницы Linux 6.17"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "НАИМЕНОВАНИЕ"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid "dl_iterate_phdr - walk through list of shared objects"
55 msgstr "dl_iterate_phdr - обход списка общих объектов"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "БИБЛИОТЕКА"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "СИНТАКСИС"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid ""
82 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
83 "B<#include E<lt>link.hE<gt>>\n"
84 msgstr ""
85 "B<#define _GNU_SOURCE> /* см. feature_test_macros(7) */\n"
86 "B<#include E<lt>link.hE<gt>>\n"
87
88 #. type: Plain text
89 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
90 #: opensuse-leap-16-1 opensuse-tumbleweed
91 #, fuzzy, no-wrap
92 #| msgid ""
93 #| "B<int dl_iterate_phdr(>\n"
94 #| "B< int (*>I<callback>B<) (struct dl_phdr_info *>I<info>B<,>\n"
95 #| "B< size_t >I<size>B<, void *>I<data>B<),>\n"
96 #| "B< void *>I<data>B<);>\n"
97 msgid ""
98 "B<int dl_iterate_phdr(>\n"
99 "B< typeof(int (struct dl_phdr_info *>I<info>B<, size_t >I<size>B<, void *>I<data>B<))>\n"
100 "B< *>I<callback>B<,>\n"
101 "B< void *>I<data>B<);>\n"
102 msgstr ""
103 "B<int dl_iterate_phdr(>\n"
104 "B< int (*>I<callback>B<) (struct dl_phdr_info *>I<info>B<,>\n"
105 "B< size_t >I<size>B<, void *>I<data>B<),>\n"
106 "B< void *>I<data>B<);>\n"
107
108 #. type: SH
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid "DESCRIPTION"
113 msgstr "ОПИСАНИЕ"
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The B<dl_iterate_phdr>() function allows an application to inquire at run "
120 "time to find out which shared objects it has loaded, and the order in which "
121 "they were loaded."
122 msgstr ""
123 "Функция B<dl_iterate_phdr>() позволяет приложению во время выполнения "
124 "узнать, какие общие объекты были загружены и их порядок загрузки."
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "The B<dl_iterate_phdr>() function walks through the list of an "
131 "application's shared objects and calls the function I<callback> once for "
132 "each object, until either all shared objects have been processed or "
133 "I<callback> returns a nonzero value."
134 msgstr ""
135 "Функция B<dl_iterate_phdr>() обходит список общих объектов приложения и "
136 "однократно вызывает функцию I<callback> для каждого объекта до тех пор, пока "
137 "или все общие объекты не будут просмотрены, или функция I<callback> не "
138 "вернёт ненулевое значение."
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "Each call to I<callback> receives three arguments: I<info>, which is a "
145 "pointer to a structure containing information about the shared object; "
146 "I<size>, which is the size of the structure pointed to by I<info>; and "
147 "I<data>, which is a copy of whatever value was passed by the calling program "
148 "as the second argument (also named I<data>) in the call to "
149 "B<dl_iterate_phdr>()."
150 msgstr ""
151 "При каждом вызове в I<callback> передаётся три параметра: I<info> (указатель "
152 "на структуру с информацией об общем объекте), I<size> (размер структуры, на "
153 "которую указывает I<info>) и I<data> (копия любого значения, переданного "
154 "вызывающей программой во втором параметре (также называемом I<data>) в вызов "
155 "B<dl_iterate_phdr>()."
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid "The I<info> argument is a structure of the following type:"
161 msgstr "Параметр I<info> представляет собой структуру следующего вида:"
162
163 #. type: Plain text
164 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
165 #: opensuse-tumbleweed
166 #, fuzzy, no-wrap
167 #| msgid ""
168 #| " unsigned long long int dlpi_adds;\n"
169 #| " /* Incremented when a new object may\n"
170 #| " have been added */\n"
171 #| " unsigned long long int dlpi_subs;\n"
172 #| " /* Incremented when an object may\n"
173 #| " have been removed */\n"
174 #| " size_t dlpi_tls_modid;\n"
175 #| " /* If there is a PT_TLS segment, its module\n"
176 #| " ID as used in TLS relocations, else zero */\n"
177 #| " void *dlpi_tls_data;\n"
178 #| " /* The address of the calling thread's instance\n"
179 #| " of this module's PT_TLS segment, if it has\n"
180 #| " one and it has been allocated in the calling\n"
181 #| " thread, otherwise a null pointer */\n"
182 #| "};\n"
183 msgid ""
184 "struct dl_phdr_info {\n"
185 " ElfW(Addr) dlpi_addr; /* Base address of object */\n"
186 " const char *dlpi_name; /* (Null-terminated) name of\n"
187 " object */\n"
188 " const ElfW(Phdr) *dlpi_phdr; /* Pointer to array of\n"
189 " ELF program headers\n"
190 " for this object */\n"
191 " ElfW(Half) dlpi_phnum; /* # of items in \\f[I]dlpi_phdr\\fR */\n"
192 "\\&\n"
193 " /* The following fields were added in glibc 2.4, after the first\n"
194 " version of this structure was available. Check the \\f[I]size\\fR\n"
195 " argument passed to the dl_iterate_phdr callback to determine\n"
196 " whether or not each later member is available. */\n"
197 "\\&\n"
198 " unsigned long long dlpi_adds;\n"
199 " /* Incremented when a new object may\n"
200 " have been added */\n"
201 " unsigned long long dlpi_subs;\n"
202 " /* Incremented when an object may\n"
203 " have been removed */\n"
204 " size_t dlpi_tls_modid;\n"
205 " /* If there is a PT_TLS segment, its module\n"
206 " ID as used in TLS relocations, else zero */\n"
207 " void *dlpi_tls_data;\n"
208 " /* The address of the calling thread\\[aq]s instance\n"
209 " of this module\\[aq]s PT_TLS segment, if it has\n"
210 " one and it has been allocated in the calling\n"
211 " thread, otherwise a null pointer */\n"
212 "};\n"
213 msgstr ""
214 " unsigned long long int dlpi_adds;\n"
215 " /* увеличивается, когда мог быть\n"
216 " добавлен новый объект */\n"
217 " unsigned long long int dlpi_subs;\n"
218 " /* увеличивается, когда мог быть\n"
219 " удалён новый объект */\n"
220 " size_t dlpi_tls_modid;\n"
221 " /* если существует сегмент PT_TLS, это его\n"
222 " ID модуля, используемый в\n"
223 " перестановках TLS, иначе 0 */\n"
224 " void *dlpi_tls_data;\n"
225 " /* адрес экземпляра вызывающей нити\n"
226 " сегмента PT_TLS этого модуля, если он есть\n"
227 " и был выделен в вызывающей нити,\n"
228 " иначе указатель null */\n"
229 "};\n"
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "(The I<ElfW>() macro definition turns its argument into the name of an ELF "
236 "data type suitable for the hardware architecture. For example, on a 32-bit "
237 "platform, I<ElfW(Addr)> yields the data type name I<Elf32_Addr>. Further "
238 "information on these types can be found in the I<E<lt>elf.hE<gt>> and "
239 "I<E<lt>link.hE<gt>> header files.)"
240 msgstr ""
241 "(Макрос I<ElfW>() преобразует свой аргумент в имя типа данных ELF, "
242 "подходящее для аппаратной архитектуры. Например, на 32-битной платформе "
243 "I<ElfW(Addr)> вернёт имя типа данных I<Elf32_Addr>. Дополнительную "
244 "информацию можно найти в заголовочных файлах I<E<lt>elf.hE<gt>> и "
245 "I<E<lt>link.hE<gt>>.)"
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "The I<dlpi_addr> field indicates the base address of the shared object "
252 "(i.e., the difference between the virtual memory address of the shared "
253 "object and the offset of that object in the file from which it was loaded). "
254 "The I<dlpi_name> field is a null-terminated string giving the pathname from "
255 "which the shared object was loaded."
256 msgstr ""
257 "В поле I<dlpi_addr> указывается базовый адрес общего объекта (т. е., разница "
258 "между виртуальным адресом памяти общего объекта и смещением до этого объекта "
259 "в файле, из которого он был загружен). Поле I<dlpi_name> представляет собой "
260 "строку с null на конце, определяющую путь, из которого был загружен общий "
261 "объект."
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "To understand the meaning of the I<dlpi_phdr> and I<dlpi_phnum> fields, we "
268 "need to be aware that an ELF shared object consists of a number of segments, "
269 "each of which has a corresponding program header describing the segment. "
270 "The I<dlpi_phdr> field is a pointer to an array of the program headers for "
271 "this shared object. The I<dlpi_phnum> field indicates the size of this "
272 "array."
273 msgstr ""
274 "Чтобы понять назначение полей I<dlpi_phdr> и I<dlpi_phnum>, нам необходимо "
275 "представлять, что общий объект ELF состоит из набора сегментов, каждый из "
276 "которых имеет соответствующий программный заголовок, описывающий сегмент. "
277 "Поле I<dlpi_phdr> представляет собой указатель на массив программных "
278 "заголовков этого общего объекта. В поле I<dlpi_phnum> задаётся размер этого "
279 "массива."
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid "These program headers are structures of the following form:"
285 msgstr "Программные заголовки представляют собой структуры следующего вида:"
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid ""
292 "typedef struct {\n"
293 " Elf32_Word p_type; /* Segment type */\n"
294 " Elf32_Off p_offset; /* Segment file offset */\n"
295 " Elf32_Addr p_vaddr; /* Segment virtual address */\n"
296 " Elf32_Addr p_paddr; /* Segment physical address */\n"
297 " Elf32_Word p_filesz; /* Segment size in file */\n"
298 " Elf32_Word p_memsz; /* Segment size in memory */\n"
299 " Elf32_Word p_flags; /* Segment flags */\n"
300 " Elf32_Word p_align; /* Segment alignment */\n"
301 "} Elf32_Phdr;\n"
302 msgstr ""
303 "typedef struct {\n"
304 " Elf32_Word p_type; /* тип сегмента */\n"
305 " Elf32_Off p_offset; /* смещение сегмента в файле */\n"
306 " Elf32_Addr p_vaddr; /* виртуальный адрес сегмента */\n"
307 " Elf32_Addr p_paddr; /* физический адрес сегмента */\n"
308 " Elf32_Word p_filesz; /* размер сегмента в файле */\n"
309 " Elf32_Word p_memsz; /* размер сегмента в памяти */\n"
310 " Elf32_Word p_flags; /* флаги сегмента */\n"
311 " Elf32_Word p_align; /* выравнивание сегмента */\n"
312 "} Elf32_Phdr;\n"
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "Note that we can calculate the location of a particular program header, "
319 "I<x>, in virtual memory using the formula:"
320 msgstr ""
321 "Заметим, что мы можем вычислить расположение определённого программного "
322 "заголовка I<x> в виртуальной памяти по следующей формуле:"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "addr == info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[x].p_vaddr;\n"
329 msgstr "addr == info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[x].p_vaddr;\n"
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "Possible values for I<p_type> include the following (see I<E<lt>elf.hE<gt>> "
336 "for further details):"
337 msgstr ""
338 "Возможными значениями I<p_type> поля могут быть (подробности смотрите в "
339 "I<E<lt>elf.hE<gt>>):"
340
341 #. For PT_GNU_STACK, see http://www.airs.com/blog/archives/518
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid ""
347 "#define PT_LOAD 1 /* Loadable program segment */\n"
348 "#define PT_DYNAMIC 2 /* Dynamic linking information */\n"
349 "#define PT_INTERP 3 /* Program interpreter */\n"
350 "#define PT_NOTE 4 /* Auxiliary information */\n"
351 "#define PT_SHLIB 5 /* Reserved */\n"
352 "#define PT_PHDR 6 /* Entry for header table itself */\n"
353 "#define PT_TLS 7 /* Thread-local storage segment */\n"
354 "#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */\n"
355 "#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */\n"
356 "#define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */\n"
357 msgstr ""
358 "#define PT_LOAD 1 /* загружаемый сегмент программы */\n"
359 "#define PT_DYNAMIC 2 /* информация о динамической компоновке */\n"
360 "#define PT_INTERP 3 /* интерпретатор программы */\n"
361 "#define PT_NOTE 4 /* вспомогательная информация */\n"
362 "#define PT_SHLIB 5 /* зарезервировано */\n"
363 "#define PT_PHDR 6 /* сам элемент таблицы заголовков */\n"
364 "#define PT_TLS 7 /* сегмент локального хранилища нити */\n"
365 "#define PT_GNU_EH_FRAME 0x6474e550 /* сегмент GCC .eh_frame_hdr */\n"
366 "#define PT_GNU_STACK 0x6474e551 /* показывает, что стек — исполняемый */\n"
367 "#define PT_GNU_RELRO 0x6474e552 /* только чтения после перемещения */\n"
368
369 #. type: SH
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "RETURN VALUE"
374 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "The B<dl_iterate_phdr>() function returns whatever value was returned by "
381 "the last call to I<callback>."
382 msgstr ""
383 "Функция B<dl_iterate_phdr>() возвращает значение, которое было получено в "
384 "результате последнего вызова I<callback>."
385
386 #. type: SH
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "ATTRIBUTES"
391 msgstr "АТРИБУТЫ"
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "For an explanation of the terms used in this section, see B<attributes>(7)."
398 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Interface"
405 msgstr "Интерфейс"
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "Attribute"
412 msgstr "Атрибут"
413
414 #. type: tbl table
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "Value"
419 msgstr "Значение"
420
421 #. type: tbl table
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid ".na\n"
426 msgstr ".na\n"
427
428 #. type: tbl table
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid ".nh\n"
433 msgstr ".nh\n"
434
435 #. type: tbl table
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "B<dl_iterate_phdr>()"
440 msgstr "B<dl_iterate_phdr>()"
441
442 #. type: tbl table
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "Thread safety"
447 msgstr "Безвредность в нитях"
448
449 #. type: tbl table
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "MT-Safe"
454 msgstr "MT-Safe"
455
456 #. type: SH
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "VERSIONS"
461 msgstr "ВЕРСИИ"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 #, fuzzy
467 #| msgid ""
468 #| "The B<dl_iterate_phdr>() function is not specified in any standard. "
469 #| "Various other systems provide a version of this function, although "
470 #| "details of the returned I<dl_phdr_info> structure differ. On the BSDs "
471 #| "and Solaris, the structure includes the fields I<dlpi_addr>, "
472 #| "I<dlpi_name>, I<dlpi_phdr>, and I<dlpi_phnum> in addition to other "
473 #| "implementation-specific fields."
474 msgid ""
475 "Various other systems provide a version of this function, although details "
476 "of the returned I<dl_phdr_info> structure differ. On the BSDs and Solaris, "
477 "the structure includes the fields I<dlpi_addr>, I<dlpi_name>, I<dlpi_phdr>, "
478 "and I<dlpi_phnum> in addition to other implementation-specific fields."
479 msgstr ""
480 "Функция B<dl_iterate_phdr>() не описана в каком-либо стандарте. Эта функция "
481 "есть в некоторых других системах, при чём возвращаемая структура "
482 "I<dl_phdr_info> имеет другой формат. В BSD и Solaris, в структуре есть поля "
483 "I<dlpi_addr>, I<dlpi_name>, I<dlpi_phdr> и I<dlpi_phnum> (помимо других "
484 "внесённых реализацией полей)."
485
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 msgid ""
490 "Future versions of the C library may add further fields to the "
491 "I<dl_phdr_info> structure; in that event, the I<size> argument provides a "
492 "mechanism for the callback function to discover whether it is running on a "
493 "system with added fields."
494 msgstr ""
495 "В будущих версиях библиотеки C в структуре I<dl_phdr_info> могут появиться "
496 "дополнительные поля; для этого случая предусмотрен аргумент I<size>, который "
497 "предоставляет вызываемой функции механизм обнаружения того, что она работает "
498 "в системе с добавленными полями."
499
500 #. type: SH
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "STANDARDS"
505 msgstr "СТАНДАРТЫ"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 msgid "None."
511 msgstr "Отсутствуют."
512
513 #. type: SH
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid "HISTORY"
518 msgstr "ИСТОРИЯ"
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid "glibc 2.2.4."
524 msgstr "glibc 2.2.4."
525
526 #. type: SH
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "NOTES"
531 msgstr "ПРИМЕЧАНИЯ"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid ""
537 "The first object visited by I<callback> is the main program. For the main "
538 "program, the I<dlpi_name> field will be an empty string."
539 msgstr ""
540 "Первый объект, просматриваемый I<callback>, это главная программа. У главной "
541 "программы поле I<dlpi_name> будет содержать пустую строку."
542
543 #. type: SH
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "EXAMPLES"
548 msgstr "ПРИМЕРЫ"
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "The following program displays a list of pathnames of the shared objects it "
555 "has loaded. For each shared object, the program lists some information "
556 "(virtual address, size, flags, and type) for each of the objects ELF "
557 "segments."
558 msgstr ""
559 "Следующая программа выводит список путей общих объектов, из которых они были "
560 "загружены. Для каждого общего объекта программа выводит информацию из "
561 "каждого сегмента объектов ELF (виртуальный адрес, размер, флаги и тип)."
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "The following shell session demonstrates the output produced by the program "
568 "on an x86-64 system. The first shared object for which output is displayed "
569 "(where the name is an empty string) is the main program."
570 msgstr ""
571 "В следующем сеансе оболочки показан вывод программы, запущенной в системе с "
572 "архитектурой x86-64. Первый показанный общий объект это основная программа "
573 "(вместо имени пустая строка)."
574
575 #. type: Plain text
576 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
577 #: opensuse-tumbleweed
578 #, fuzzy, no-wrap
579 #| msgid ""
580 #| "$ B<./a.out>\n"
581 #| "Name: \"\" (9 segments)\n"
582 #| " 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n"
583 #| " 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n"
584 #| " 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n"
585 #| " 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n"
586 #| " 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n"
587 #| " 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n"
588 #| " 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
589 #| " 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n"
590 #| " 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n"
591 #| "Name: \"linux-vdso.so.1\" (4 segments)\n"
592 #| " 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n"
593 #| " 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n"
594 #| " 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n"
595 #| " 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
596 #| "Name: \"/lib64/libc.so.6\" (10 segments)\n"
597 #| " 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n"
598 #| " 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n"
599 #| " 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n"
600 #| " 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n"
601 #| " 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n"
602 #| " 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n"
603 #| " 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n"
604 #| " 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n"
605 #| " 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
606 #| " 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n"
607 #| "Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n"
608 #| " 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n"
609 #| " 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n"
610 #| " 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n"
611 #| " 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n"
612 #| " 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n"
613 #| " 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
614 #| " 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n"
615 msgid ""
616 "$B< ./a.out>;\n"
617 "Name: \"\" (9 segments)\n"
618 " 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n"
619 " 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n"
620 " 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n"
621 " 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n"
622 " 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n"
623 " 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n"
624 " 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
625 " 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n"
626 " 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n"
627 "Name: \"linux-vdso.so.1\" (4 segments)\n"
628 " 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n"
629 " 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n"
630 " 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n"
631 " 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
632 "Name: \"/lib64/libc.so.6\" (10 segments)\n"
633 " 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n"
634 " 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n"
635 " 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n"
636 " 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n"
637 " 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n"
638 " 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n"
639 " 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n"
640 " 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n"
641 " 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
642 " 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n"
643 "Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n"
644 " 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n"
645 " 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n"
646 " 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n"
647 " 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n"
648 " 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n"
649 " 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
650 " 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n"
651 msgstr ""
652 "$ B<./a.out>\n"
653 "Имя: \"\" (9 сегментов)\n"
654 " 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n"
655 " 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n"
656 " 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n"
657 " 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n"
658 " 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n"
659 " 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n"
660 " 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
661 " 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n"
662 " 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n"
663 "Имя: \"linux-vdso.so.1\" (4 сегментов)\n"
664 " 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n"
665 " 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n"
666 " 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n"
667 " 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
668 "Имя: \"/lib64/libc.so.6\" (10 сегментов)\n"
669 " 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n"
670 " 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n"
671 " 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n"
672 " 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n"
673 " 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n"
674 " 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n"
675 " 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n"
676 " 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n"
677 " 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
678 " 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n"
679 "Имя: \"/lib64/ld-linux-x86-64.so.2\" (7 сегментов)\n"
680 " 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n"
681 " 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n"
682 " 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n"
683 " 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n"
684 " 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n"
685 " 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
686 " 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n"
687
688 #. type: SS
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 #, no-wrap
692 msgid "Program source"
693 msgstr "Исходный код программы"
694
695 #. type: Plain text
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 #, fuzzy, no-wrap
699 #| msgid ""
700 #| " for (j = 0; j E<lt> info-E<gt>dlpi_phnum; j++) {\n"
701 #| " p_type = info-E<gt>dlpi_phdr[j].p_type;\n"
702 #| " type = (p_type == PT_LOAD) ? \"PT_LOAD\" :\n"
703 #| " (p_type == PT_DYNAMIC) ? \"PT_DYNAMIC\" :\n"
704 #| " (p_type == PT_INTERP) ? \"PT_INTERP\" :\n"
705 #| " (p_type == PT_NOTE) ? \"PT_NOTE\" :\n"
706 #| " (p_type == PT_INTERP) ? \"PT_INTERP\" :\n"
707 #| " (p_type == PT_PHDR) ? \"PT_PHDR\" :\n"
708 #| " (p_type == PT_TLS) ? \"PT_TLS\" :\n"
709 #| " (p_type == PT_GNU_EH_FRAME) ? \"PT_GNU_EH_FRAME\" :\n"
710 #| " (p_type == PT_GNU_STACK) ? \"PT_GNU_STACK\" :\n"
711 #| " (p_type == PT_GNU_RELRO) ? \"PT_GNU_RELRO\" : NULL;\n"
712 msgid ""
713 "#define _GNU_SOURCE\n"
714 "#include E<lt>link.hE<gt>\n"
715 "#include E<lt>stdint.hE<gt>\n"
716 "#include E<lt>stdio.hE<gt>\n"
717 "#include E<lt>stdlib.hE<gt>\n"
718 "\\&\n"
719 "static int\n"
720 "callback(struct dl_phdr_info *info, size_t size, void *data)\n"
721 "{\n"
722 " char *type;\n"
723 " int p_type;\n"
724 "\\&\n"
725 " printf(\"Name: \\[rs]\"%s\\[rs]\" (%d segments)\\[rs]n\", info-E<gt>dlpi_name,\n"
726 " info-E<gt>dlpi_phnum);\n"
727 "\\&\n"
728 " for (size_t j = 0; j E<lt> info-E<gt>dlpi_phnum; j++) {\n"
729 " p_type = info-E<gt>dlpi_phdr[j].p_type;\n"
730 " type = (p_type == PT_LOAD) ? \"PT_LOAD\" :\n"
731 " (p_type == PT_DYNAMIC) ? \"PT_DYNAMIC\" :\n"
732 " (p_type == PT_INTERP) ? \"PT_INTERP\" :\n"
733 " (p_type == PT_NOTE) ? \"PT_NOTE\" :\n"
734 " (p_type == PT_INTERP) ? \"PT_INTERP\" :\n"
735 " (p_type == PT_PHDR) ? \"PT_PHDR\" :\n"
736 " (p_type == PT_TLS) ? \"PT_TLS\" :\n"
737 " (p_type == PT_GNU_EH_FRAME) ? \"PT_GNU_EH_FRAME\" :\n"
738 " (p_type == PT_GNU_STACK) ? \"PT_GNU_STACK\" :\n"
739 " (p_type == PT_GNU_RELRO) ? \"PT_GNU_RELRO\" : NULL;\n"
740 "\\&\n"
741 " printf(\" %2zu: [%14p; memsz:%7jx] flags: %#jx; \", j,\n"
742 " (void *) (info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[j].p_vaddr),\n"
743 " (uintmax_t) info-E<gt>dlpi_phdr[j].p_memsz,\n"
744 " (uintmax_t) info-E<gt>dlpi_phdr[j].p_flags);\n"
745 " if (type != NULL)\n"
746 " printf(\"%s\\[rs]n\", type);\n"
747 " else\n"
748 " printf(\"[other (%#x)]\\[rs]n\", p_type);\n"
749 " }\n"
750 "\\&\n"
751 " return 0;\n"
752 "}\n"
753 "\\&\n"
754 "int\n"
755 "main(void)\n"
756 "{\n"
757 " dl_iterate_phdr(callback, NULL);\n"
758 "\\&\n"
759 " exit(EXIT_SUCCESS);\n"
760 "}\n"
761 msgstr ""
762 " for (j = 0; j E<lt> info-E<gt>dlpi_phnum; j++) {\n"
763 " p_type = info-E<gt>dlpi_phdr[j].p_type;\n"
764 " type = (p_type == PT_LOAD) ? \"PT_LOAD\" :\n"
765 " (p_type == PT_DYNAMIC) ? \"PT_DYNAMIC\" :\n"
766 " (p_type == PT_INTERP) ? \"PT_INTERP\" :\n"
767 " (p_type == PT_NOTE) ? \"PT_NOTE\" :\n"
768 " (p_type == PT_INTERP) ? \"PT_INTERP\" :\n"
769 " (p_type == PT_PHDR) ? \"PT_PHDR\" :\n"
770 " (p_type == PT_TLS) ? \"PT_TLS\" :\n"
771 " (p_type == PT_GNU_EH_FRAME) ? \"PT_GNU_EH_FRAME\" :\n"
772 " (p_type == PT_GNU_STACK) ? \"PT_GNU_STACK\" :\n"
773 " (p_type == PT_GNU_RELRO) ? \"PT_GNU_RELRO\" : NULL;\n"
774
775 #. SRC END
776 #. type: SH
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 #, no-wrap
780 msgid "SEE ALSO"
781 msgstr "СМОТРИТЕ ТАКЖЕ"
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid ""
787 "B<ldd>(1), B<objdump>(1), B<readelf>(1), B<dladdr>(3), B<dlopen>(3), "
788 "B<elf>(5), B<ld.so>(8)"
789 msgstr ""
790 "B<ldd>(1), B<objdump>(1), B<readelf>(1), B<dladdr>(3), B<dlopen>(3), "
791 "B<elf>(5), B<ld.so>(8)"
792
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 msgid ""
797 "I<Executable and Linking Format Specification>, available at various "
798 "locations online."
799 msgstr "I<Executable and Linking Format Specification> в веб."
800
801 #. type: TH
802 #: debian-trixie
803 #, no-wrap
804 msgid "2024-06-15"
805 msgstr "15 июня 2024 г."
806
807 #. type: TH
808 #: debian-trixie
809 #, no-wrap
810 msgid "Linux man-pages 6.9.1"
811 msgstr "Страницы руководства Linux 6.9.1"
812
813 #. type: Plain text
814 #: debian-trixie
815 msgid "Standard C library (I<libc>, I<-lc>)"
816 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
817
818 #. type: Plain text
819 #: debian-trixie
820 #, fuzzy, no-wrap
821 #| msgid ""
822 #| "B<int dl_iterate_phdr(>\n"
823 #| "B< int (*>I<callback>B<) (struct dl_phdr_info *>I<info>B<,>\n"
824 #| "B< size_t >I<size>B<, void *>I<data>B<),>\n"
825 #| "B< void *>I<data>B<);>\n"
826 msgid ""
827 "B<int dl_iterate_phdr(>\n"
828 "B< int (*>I<callback>B<)(struct dl_phdr_info *>I<info>B<,>\n"
829 "B< size_t >I<size>B<, void *>I<data>B<),>\n"
830 "B< void *>I<data>B<);>\n"
831 msgstr ""
832 "B<int dl_iterate_phdr(>\n"
833 "B< int (*>I<callback>B<) (struct dl_phdr_info *>I<info>B<,>\n"
834 "B< size_t >I<size>B<, void *>I<data>B<),>\n"
835 "B< void *>I<data>B<);>\n"
836
837 #. type: Plain text
838 #: debian-trixie fedora-44 fedora-rawhide
839 #, fuzzy, no-wrap
840 #| msgid ""
841 #| " unsigned long long int dlpi_adds;\n"
842 #| " /* Incremented when a new object may\n"
843 #| " have been added */\n"
844 #| " unsigned long long int dlpi_subs;\n"
845 #| " /* Incremented when an object may\n"
846 #| " have been removed */\n"
847 #| " size_t dlpi_tls_modid;\n"
848 #| " /* If there is a PT_TLS segment, its module\n"
849 #| " ID as used in TLS relocations, else zero */\n"
850 #| " void *dlpi_tls_data;\n"
851 #| " /* The address of the calling thread's instance\n"
852 #| " of this module's PT_TLS segment, if it has\n"
853 #| " one and it has been allocated in the calling\n"
854 #| " thread, otherwise a null pointer */\n"
855 #| "};\n"
856 msgid ""
857 "struct dl_phdr_info {\n"
858 " ElfW(Addr) dlpi_addr; /* Base address of object */\n"
859 " const char *dlpi_name; /* (Null-terminated) name of\n"
860 " object */\n"
861 " const ElfW(Phdr) *dlpi_phdr; /* Pointer to array of\n"
862 " ELF program headers\n"
863 " for this object */\n"
864 " ElfW(Half) dlpi_phnum; /* # of items in I<dlpi_phdr> */\n"
865 "\\&\n"
866 " /* The following fields were added in glibc 2.4, after the first\n"
867 " version of this structure was available. Check the I<size>\n"
868 " argument passed to the dl_iterate_phdr callback to determine\n"
869 " whether or not each later member is available. */\n"
870 "\\&\n"
871 " unsigned long long dlpi_adds;\n"
872 " /* Incremented when a new object may\n"
873 " have been added */\n"
874 " unsigned long long dlpi_subs;\n"
875 " /* Incremented when an object may\n"
876 " have been removed */\n"
877 " size_t dlpi_tls_modid;\n"
878 " /* If there is a PT_TLS segment, its module\n"
879 " ID as used in TLS relocations, else zero */\n"
880 " void *dlpi_tls_data;\n"
881 " /* The address of the calling thread\\[aq]s instance\n"
882 " of this module\\[aq]s PT_TLS segment, if it has\n"
883 " one and it has been allocated in the calling\n"
884 " thread, otherwise a null pointer */\n"
885 "};\n"
886 msgstr ""
887 " unsigned long long int dlpi_adds;\n"
888 " /* увеличивается, когда мог быть\n"
889 " добавлен новый объект */\n"
890 " unsigned long long int dlpi_subs;\n"
891 " /* увеличивается, когда мог быть\n"
892 " удалён новый объект */\n"
893 " size_t dlpi_tls_modid;\n"
894 " /* если существует сегмент PT_TLS, это его\n"
895 " ID модуля, используемый в\n"
896 " перестановках TLS, иначе 0 */\n"
897 " void *dlpi_tls_data;\n"
898 " /* адрес экземпляра вызывающей нити\n"
899 " сегмента PT_TLS этого модуля, если он есть\n"
900 " и был выделен в вызывающей нити,\n"
901 " иначе указатель null */\n"
902 "};\n"
903
904 #. type: Plain text
905 #: debian-trixie fedora-44 fedora-rawhide
906 #, no-wrap
907 msgid ""
908 "$ B<./a.out>\n"
909 "Name: \"\" (9 segments)\n"
910 " 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n"
911 " 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n"
912 " 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n"
913 " 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n"
914 " 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n"
915 " 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n"
916 " 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
917 " 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n"
918 " 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n"
919 "Name: \"linux-vdso.so.1\" (4 segments)\n"
920 " 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n"
921 " 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n"
922 " 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n"
923 " 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
924 "Name: \"/lib64/libc.so.6\" (10 segments)\n"
925 " 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n"
926 " 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n"
927 " 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n"
928 " 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n"
929 " 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n"
930 " 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n"
931 " 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n"
932 " 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n"
933 " 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
934 " 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n"
935 "Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n"
936 " 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n"
937 " 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n"
938 " 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n"
939 " 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n"
940 " 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n"
941 " 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
942 " 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n"
943 msgstr ""
944 "$ B<./a.out>\n"
945 "Имя: \"\" (9 сегментов)\n"
946 " 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n"
947 " 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n"
948 " 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n"
949 " 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n"
950 " 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n"
951 " 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n"
952 " 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
953 " 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n"
954 " 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n"
955 "Имя: \"linux-vdso.so.1\" (4 сегментов)\n"
956 " 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n"
957 " 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n"
958 " 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n"
959 " 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n"
960 "Имя: \"/lib64/libc.so.6\" (10 сегментов)\n"
961 " 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n"
962 " 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n"
963 " 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n"
964 " 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n"
965 " 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n"
966 " 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n"
967 " 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n"
968 " 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n"
969 " 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
970 " 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n"
971 "Имя: \"/lib64/ld-linux-x86-64.so.2\" (7 сегментов)\n"
972 " 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n"
973 " 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n"
974 " 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n"
975 " 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n"
976 " 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n"
977 " 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n"
978 " 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n"
979
980 #. type: TH
981 #: fedora-44 fedora-rawhide
982 #, no-wrap
983 msgid "2024-12-13"
984 msgstr "13 декабря 2024 г."
985
986 #. type: TH
987 #: fedora-44 fedora-rawhide
988 #, no-wrap
989 msgid "Linux man-pages 6.13"
990 msgstr "Страницы руководства Linux 6.13"
991
992 #. type: TH
993 #: mageia-cauldron
994 #, no-wrap
995 msgid "Linux man-pages 6.17"
996 msgstr "Страницы руководства Linux 6.17"
997
998 #. type: TH
999 #: opensuse-leap-16-1 opensuse-tumbleweed
1000 #, no-wrap
1001 msgid "Linux man-pages (unreleased)"
1002 msgstr "Страницы руководства Linux (не выпущены)"