9

I am confused about this strace report on an ArchLinux, 64bit intel machine:

~ sudo strace -c -p 876
[sudo] password for pmatos: 
strace: Process 876 attached
strace: [ Process PID=876 runs in x32 mode. ]
strace: [ Process PID=876 runs in 64 bit mode. ]

Why does it say that the process runs in both x32 and 64bit mode? I assume x32 means 32 bit mode.

2
  • Updated question. Commented Oct 4, 2018 at 13:02
  • what -c is used for? Commented Aug 7, 2024 at 2:30

1 Answer 1

9

strace have a handful of heuristics to try to detect the mode of the binary (32bit, 64 bit, x32 and so on).

This logic is not accurate in all cases, so you're seeing a result of that. (This is also the consensus on the linux kernel mailing list)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.