Skip to content

xDL v2.1.1

Latest
Compare
Choose a tag to compare
@caikelun caikelun released this 17 Jan 12:05
v2.1.1
228742f

Bugs fixed

Fixed the bug of incorrect symbol name matching in xdl_dsym().

This bug could cause xdl_dsym() to return the wrong address when .symtab contains symbol names with the same prefix. For example: querying the address of abcdef, but incorrectly returning the address of abcde.

This bug only exists in 2.1.0 version.

Bugs 修复

修复 xdl_dsym() 符号名匹配错误的 bug。

.symtab 中含有相同前缀的符号名时,这个 bug 可能会导致 xdl_dsym() 返回错误的地址。比如:查询 abcdef 的地址,但是错误的返回了 abcde 的地址。

这个 bug 只存在于 2.1.0 版本中。