English 中文(简体)
ELF科长是否有必要对ELF文档进行动态联系?
原标题:Is the ELF Section Header Table necessary for Dynamically Linked ELF file?

我过去几天来一直在阅读装货和连接的问题,我已经读过无数次,即该科在ELF档案中的负责人没有必要起诉。 我理解,如果存在固定联系的可起诉性,这怎么办。 但我很想知道,这是否仍然有动态联系的迫害者。

“entergraph

如这一形象所示,该科负责人表与其他一些科一道,用于查阅搬迁科。 这些章节随后用于动态连接过程。 这一点在article 中也有表述,我发现这一形象。 因此,如果关于不需要科长的声明仍然保留,或者它只适用于静态关联的迫害,我就感到困惑。

任何见解都会受到赞赏。 谢谢。

问题回答

我很想知道,这是否仍然有利于有活力联系的迫害者。

是:在动态装货时,用的是而不是<>m>。

如这一形象所示,该科负责人表用于查阅搬迁科。

情况并非如此。 为寻找搬迁,PT_DYNAMICsegment (含.dynamic section) 例如:

readelf -d /bin/date

Dynamic section at offset 0x1cdb8 contains 26 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000c (INIT)               0x3000
 0x000000000000000d (FINI)               0x15140
 0x0000000000000019 (INIT_ARRAY)         0x1c1f0
 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x1c1f8
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x3a0
 0x0000000000000005 (STRTAB)             0xbc8
 0x0000000000000006 (SYMTAB)             0x400
 0x000000000000000a (STRSZ)              977 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x1cfe8
 0x0000000000000002 (PLTRELSZ)           1584 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x2238
 0x0000000000000007 (RELA)               0x10e0
 0x0000000000000008 (RELASZ)             4440 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffb (FLAGS_1)            Flags: PIE
 0x000000006ffffffe (VERNEED)            0x1040
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0xf9a
 0x000000006ffffff9 (RELACOUNT)          171
 0x0000000000000000 (NULL)               0x0

这里,DT_PLTGOT,DT_PLTRELSZ,DT_RELA,DT_RELASZ 等等足以找到必要的搬迁表。





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...