Skip to content

feat(cmd/rofl): Add support for building TDX ROFL apps #1068

feat(cmd/rofl): Add support for building TDX ROFL apps

feat(cmd/rofl): Add support for building TDX ROFL apps #1068

Triggered via pull request November 13, 2024 15:07
Status Failure
Total duration 1m 34s
Artifacts

ci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: build/measurement/tdx_qemu.go#L91
assignOp: replace `remainingMemory = remainingMemory - length` with `remainingMemory -= length` (gocritic)
lint: build/measurement/tdx_qemu.go#L442
unslice: could simplify rawMrEnclave[:] to rawMrEnclave (gocritic)
lint: build/measurement/tdx_qemu.go#L440
unslice: could simplify rtmr3[:] to rtmr3 (gocritic)
lint: build/measurement/tdx_qemu.go#L529
Consider pre-allocating `eids` (prealloc)
lint: wallet/wallet.go#L176
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
lint: build/measurement/tdx_qemu.go#L176
var-naming: func encodeGuid should be encodeGUID (revive)
lint: build/measurement/tdx_qemu.go#L199
var-naming: func parameter vendorGuid should be vendorGUID (revive)
lint: build/measurement/tdx_qemu.go#L318
var-naming: const tdxMetadataOffsetGuid should be tdxMetadataOffsetGUID (revive)
lint: build/measurement/tdx_qemu.go#L321
var-naming: const tableFooterGuid should be tableFooterGUID (revive)
lint: build/measurement/tdx_qemu.go#L326
var-naming: var encodedFooterGuid should be encodedFooterGUID (revive)