bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parse out the function address wrong in `nm` version 3.40


From: Fr3v1
Subject: Parse out the function address wrong in `nm` version 3.40
Date: Thu, 27 Jul 2023 14:23:11 +0800

Hi, I am using the command `nm --defined-only  -l  --demangle=auto -n libexpatw.so.1_withsym  > libexpatw_nm` to get the function address and corresponding address in source code. 
And the result seems not correct enough: every function address is one byte more than the result in IDA (which the result in IDA is the same as the the info in dwarfdump and llvm-dwarfdump) e.g: in IDA the function processXmlDecl starts at text:0000397C, but the nm shows it starts at 0000397D. 
I tested some other files, but only this one trigger this thing. 

Attachment: libexpatw.so.1_withsym
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]