mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
28359e141f
Replace the uses of read_struct() and read_struct_slice() with the safe DataInit::from_reader() implementation. BUG=b:197263364 TEST=./test_all TEST=Boot bzImage kernel TEST=Boot raw ELF kernel extracted with extract_vmlinux Change-Id: I80f98243bfb58a7ae93e1686bc4d92b0cd485cda Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3108249 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
13 lines
No EOL
235 B
TOML
13 lines
No EOL
235 B
TOML
[package]
|
|
name = "kernel_loader"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
data_model = { path = "../data_model" }
|
|
libc = "*"
|
|
base = { path = "../base" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "*" |