Участник:StasFomin/Bookmarks/Stegano — различия между версиями

Материал из DISCOPAL
Перейти к: навигация, поиск
(Добавлена закладка c++ - How to list on-the-fly all the functions/symbols available in C code on a Linux architecture? - Stack Overflow)
(Добавлена закладка man dl_iterate_phdr (3): обход списка общих объектов)
Строка 2: Строка 2:
 
=== 2020-11 ===
 
=== 2020-11 ===
  
 +
* 2020-11-04, 02:25:18: [http://ru.manpages.org/dl_iterate_phdr/3 man dl_iterate_phdr (3): обход списка общих объектов]
 +
*: <html><span class="hljs-preprocessor">#<span class="hljs-keyword">define</span> _GNU_SOURCE</span> <span class="hljs-preprocessor">#<span class="hljs-keyword">include</span> &lt;link.h&gt;</span> <span class="hljs-preprocessor">#<span class="hljs-keyword">include</span> &lt;stdlib.h&gt;</span> <span class="hljs-preprocessor">#<span class="hljs-keyword">include</span> &lt;stdio.h&gt;</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">int</span> callback(<span class="hljs-keyword">struct</span> dl_phdr_info *info, size_t size, <span class="hljs-keyword">void</span> *data) {    <span class="hljs-keyword">int</span> j;    <span class="hljs-built_in">printf</span>(<span class="hljs-string">"имя=%s (%d сегментов)\n"</span>, info-&gt;dlpi_name,        info-&gt;dlpi_phnum);    <span class="hljs-keyword">for</span> (j = <span class="hljs-number">0</span>; j &lt; info-&gt;dlpi_phnum; j++)          <span class="hljs-built_in">printf</span>(<span class="hljs-string">"\t\t заголовок %2d: адрес=%10p\n"</span>, j,              (<span class="hljs-keyword">void</span> *) (info-&gt;dlpi_addr + info-&gt;dlpi_phdr[j].p_vaddr));    <span class="hljs-keyword">return</span> <span class="hljs-number">0</span>; } <span class="hljs-keyword">int</span> main(<span class="hljs-keyword">int</span> argc, <span class="hljs-keyword">char</span> *argv[]) {    dl_iterate_phdr(callback, NULL);    <span class="hljs-built_in">exit</span>(EXIT_SUCCESS); }</html>
 +
<!-- NEXT BOOKMARK -->
 
* 2020-11-04, 02:04:04: [https://stackoverflow.com/questions/15779185/how-to-list-on-the-fly-all-the-functions-symbols-available-in-c-code-on-a-linux c++ - How to list on-the-fly all the functions/symbols available in C code on a Linux architecture? - Stack Overflow]
 
* 2020-11-04, 02:04:04: [https://stackoverflow.com/questions/15779185/how-to-list-on-the-fly-all-the-functions-symbols-available-in-c-code-on-a-linux c++ - How to list on-the-fly all the functions/symbols available in C code on a Linux architecture? - Stack Overflow]
 
* 2020-11-03, 02:24:59: [https://github.com/Infinidat/infi.clickhouse_orm/blob/ffd9bab0ef58c5670f3a39c978525f5f32a00742/docs/schema_migrations.md infi.clickhouse_orm/schema_migrations.md at ffd9bab0ef58c5670f3a39c978525f5f32a00742 · Infinidat/infi.clickhouse_orm]
 
* 2020-11-03, 02:24:59: [https://github.com/Infinidat/infi.clickhouse_orm/blob/ffd9bab0ef58c5670f3a39c978525f5f32a00742/docs/schema_migrations.md infi.clickhouse_orm/schema_migrations.md at ffd9bab0ef58c5670f3a39c978525f5f32a00742 · Infinidat/infi.clickhouse_orm]

Версия 23:25, 3 ноября 2020

2020

2020-11

2020-10

2020-09

2020-08

2020-07

Навигация