How can I get the size of a library/executable's executable code section?
-
21-06-2021 - |
سؤال
I'm performing an analysis of the executable sizes of various codebases, and I'm looking to get data about how large the executable section of a library or executable is. I know I can sort of get an idea by looking at /proc/xxx/maps
, but is there anything that will explicitly tell me?
المحلول
Turns out that size xxx
will give that to you.
لا تنتمي إلى StackOverflow