Skip to content

Commit 7adff65

Browse files
committed
[Dexter] Don't hardcode x86_64 as the default architecture
Use platform.machine() as the default architecture instead of hardcoding it to x86_64.
1 parent 1610627 commit 7adff65

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • cross-project-tests/debuginfo-tests/dexter/dex/debugger

cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from collections import OrderedDict
1010
import os
1111
import pickle
12+
import platform
1213
import subprocess
1314
import sys
1415
from tempfile import NamedTemporaryFile
@@ -97,7 +98,7 @@ def add_debugger_tool_arguments(parser, context, defaults):
9798
parser.add_argument(
9899
"--show-debugger", action="store_true", default=None, help="show the debugger"
99100
)
100-
defaults.arch = "x86_64"
101+
defaults.arch = platform.machine()
101102
parser.add_argument(
102103
"--arch",
103104
type=str,

0 commit comments

Comments
 (0)