Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about readelf

Read more about readelf

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - readelf

How "readelf --hex-dump" gives little endian output

I am using readelf --hex-dump=<section name> <elf> to get hex dump of a specific section. However, the result is shown as big endian DWORD. Is there a native way to make the output little ...
test-img

Eric Sun

hexdump

readelf

endianness

Votes: 0

Answers: 0

test-img

How do I find out where main() is defined in a big project?

Let's say I have the following program (a.c): #include <stdio.h> void f() { printf("Hello, world!"); } int main(void) { f(); return 0; } $ gcc -g a.c Having a.out, how ...
test-img

x-yuri

c

objdump

dwarf

nm

readelf

Votes: 0

Answers: 2

Latest Answer

You can use gdb. Probably there's a better command, anyway I know of: $ gdb -batch -ex "info function main" a.out All functions matching regular expression "main": File a.c: 8: ...
test-img

KamilCuk

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved