2022-10-01 20:46:15 +05:30
|
|
|
# size
|
|
|
|
|
2024-04-18 06:04:00 +02:00
|
|
|
> Display the sizes of sections inside binary files.
|
2022-10-01 20:46:15 +05:30
|
|
|
> More information: <https://sourceware.org/binutils/docs/binutils/size.html>.
|
|
|
|
|
|
|
|
- Display the size of sections in a given object or executable file:
|
|
|
|
|
|
|
|
`size {{path/to/file}}`
|
|
|
|
|
|
|
|
- Display the size of sections in a given object or executable file in [o]ctal:
|
|
|
|
|
2025-03-09 01:35:31 +02:00
|
|
|
`size {{[-o|--radix=8]}} {{path/to/file}}`
|
2022-10-01 20:46:15 +05:30
|
|
|
|
|
|
|
- Display the size of sections in a given object or executable file in [d]ecimal:
|
|
|
|
|
2025-03-09 01:35:31 +02:00
|
|
|
`size {{[-d|--radix=10]}} {{path/to/file}}`
|
2022-10-01 20:46:15 +05:30
|
|
|
|
|
|
|
- Display the size of sections in a given object or executable file in he[x]adecimal:
|
|
|
|
|
2025-03-09 01:35:31 +02:00
|
|
|
`size {{[-x|--radix=16]}} {{path/to/file}}`
|