Skip to content

boot-qemu.py: Attempt to guess architecture from vmlinux without '-a'#97

Merged
msfjarvis merged 2 commits into
ClangBuiltLinux:mainfrom
nathanchance:guess-architecture
Apr 6, 2023
Merged

boot-qemu.py: Attempt to guess architecture from vmlinux without '-a'#97
msfjarvis merged 2 commits into
ClangBuiltLinux:mainfrom
nathanchance:guess-architecture

Conversation

@nathanchance

Copy link
Copy Markdown
Member

We can run file on vmlinux (if it is available) to try and guess what
kernel we are booting. Certain architectures are ambiguous so we just
require the user to provide -a for those.

Closes: #48

We can run 'file' on vmlinux (if it is available) to try and guess what
kernel we are booting. Certain architectures are ambiguous so we just
require the user to provide '-a' for those.

Closes: ClangBuiltLinux#48
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

@msfjarvis msfjarvis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread boot-qemu.py Outdated
To make it clear this is the file utility, not an actual file.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@msfjarvis msfjarvis merged commit e06594d into ClangBuiltLinux:main Apr 6, 2023
@nathanchance nathanchance deleted the guess-architecture branch April 6, 2023 16:20
@nickdesaulniers

Copy link
Copy Markdown
Member

yes! thank you @nathanchance !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

infer -a from vmlinux

3 participants