Flexible detection of the target's architecture.