Proto commits in google/silifuzz

These 34 commits are when the Protocol Buffers files have changed:

Commit:285bba3
Author:Nick Bray
Committer:Copybara-Service

Add support for Neoverse N3 PiperOrigin-RevId: 733519252

The documentation is generated from this commit.

Commit:a6e16ed
Author:Han Yang Tay
Committer:Copybara-Service

Add AMD Turin to list of SiliFuzz platforms. PiperOrigin-RevId: 731879614

Commit:573c7e6
Author:Nick Bray
Committer:Copybara-Service

hashtest: optionally output a result proto This is useful for returning structured information from a subprocess. PiperOrigin-RevId: 721050731

Commit:7594260
Author:Kostik Shtoyk
Committer:Copybara-Service

Propagate checksum failure status to the binary log PiperOrigin-RevId: 698215430

Commit:4104226
Author:Kostik Shtoyk
Committer:Copybara-Service

Migrate the runner to produce the new RunnerOutput proto. PiperOrigin-RevId: 672564115

Commit:035a0fd
Author:Kostik Shtoyk
Committer:Copybara-Service

Introduce a new proto wrapper to capture runner executions. The goal is to have the runner produce the new RunnerOutput proto instead of the bare SnapshotExecutionResult it does now. This will allow us to capture failures that currently end up as unstructured absl::Status/InternalError. PiperOrigin-RevId: 672563707

Commit:7f957cd
Author:Kostik Shtoyk
Committer:Copybara-Service

Change Endstate::platforms int64 -> uint64. This is safe because both types are encoded the same way. The field is used as a bitmask and should have been unsigned to begin with PiperOrigin-RevId: 665962990

Commit:6984133
Author:Kostik Shtoyk
Committer:Copybara-Service

Add support for generic NeoverseV2-based CPUs. PiperOrigin-RevId: 665918039

Commit:b6be552
Author:Kostik Shtoyk
Committer:Copybara-Service

Add AMD Siena platform id support PiperOrigin-RevId: 640239657

Commit:bd3d8ed
Author:Kostik Shtoyk
Committer:Copybara-Service

Log an event at the start of a session. This helps catch the cases when the DUT or the silifuzz process crashes while scanning before it has a chance to log any errors. PiperOrigin-RevId: 630182012

Commit:5e1a675
Author:Kostik Shtoyk
Committer:Copybara-Service

Add Intel Graniterapids platform id PiperOrigin-RevId: 617014950

Commit:716daf2
Author:Kostik Shtoyk
Committer:Copybara-Service

Reserve a contiguous range of ids for future proprietary platforms PiperOrigin-RevId: 616875543

Commit:26c014e
Author:Kostik Shtoyk
Committer:Copybara-Service

Automated rollback of commit 87ee6dfcfeaae2572b580336ab3375dce98f3795. PiperOrigin-RevId: 588520905

Commit:87ee6df
Author:Kostik Shtoyk
Committer:Copybara-Service

Remove deprecated timestamp proto field PiperOrigin-RevId: 587834129

Commit:f735900
Author:Sarah Gwin
Committer:Copybara-Service

Add support for additional CPUs PiperOrigin-RevId: 578962290

Commit:8f0bc2d
Author:Kostik Shtoyk
Committer:Copybara-Service

Add support for RyzenV3000 PiperOrigin-RevId: 575230538

Commit:a4ce6a9
Author:Kostik Shtoyk
Committer:Copybara-Service

Internal change PiperOrigin-RevId: 561427411

Commit:5b2e54a
Author:Kostik Shtoyk
Committer:Copybara-Service

Add support for upcoming platform(s) The model number is based on https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/intel-family.h#L110 PiperOrigin-RevId: 550610553

Commit:a1699b9
Author:Nick Bray
Committer:Copybara-Service

Add PlatformId for Ampere One PiperOrigin-RevId: 548812728

Commit:171f24d
Author:Kostik Shtoyk
Committer:Copybara-Service

Adding TraceMetadata The new proto field will store things like number of dynamic instructions and human-readable dissembly PiperOrigin-RevId: 538194291

Commit:ceb3672
Author:Kostik Shtoyk
Committer:Copybara-Service

Internal change PiperOrigin-RevId: 537336005

Commit:5a1e47f
Author:Doug Kwan
Committer:Copybara-Service

Add register checksum related fields in snapshot.proto. PiperOrigin-RevId: 536804186

Commit:e41f424
Author:Kostik Shtoyk
Committer:Copybara-Service

Allow free-form origin strings for Snapshots. PiperOrigin-RevId: 530493998

Commit:37bca9f
Author:Kostik Shtoyk
Committer:Copybara-Service

Cleanup SnapshotMetadata comments PiperOrigin-RevId: 530412579

Commit:15cc0e7
Author:Kostik Shtoyk
Committer:Copybara-Service

SnapshotSummary proto and the corresponding (de-)serialization code PiperOrigin-RevId: 525280843

Commit:fabe275
Author:Sarah Gwin
Committer:Copybara-Service

Add SIMULATOR1_FUZZING_ORIGIN to represent a new simulator-based fuzzing proxy origin PiperOrigin-RevId: 523850366

Commit:62d7441
Author:Nick Bray
Committer:Copybara-Service

Break Snapshot's dependency on the proto library Embedding the raw Metadata structure generated from snapshot.proto into the internal Snapshot data structure ends up pulling in a lot of code and makes proxy coverage harder to understand. Also eliminate unused fields from the SnapshotMetadata proto. PiperOrigin-RevId: 513384920

Commit:7585496
Author:Kostik Shtoyk
Committer:Copybara-Service

Fix SessionSummary.max_rss_kb contents. The value reported by getrusage(RUSAGE_CHILDREN) is bogus. In almost all cases it will be the RSS of the orchestrator process itself and not the largest runner. This is because "maxrss is effectively inherited" over fork/exec (https://jkz.wtf/random-linux-oddity-1-ru_maxrss) and the fact that the orchestrator loads all corpus shards into memory first raising the maxrss value from the start. Replace getrusage() with periodically sampling the RSS from /proc/ PiperOrigin-RevId: 505797889

Commit:34bc2c2
Author:Nick Bray
Committer:Copybara-Service

Add ARM Neoverse N1 platform ID PiperOrigin-RevId: 485183300

Commit:2432bea
Author:Nick Bray
Committer:Copybara-Service

Change serialization format for x86_64 registers This change makes x86_64 serialize its registers similar to aarch64: prepending a header to the raw bytes. The old serialization format relied on arch-specific system headers which meant that x86_64 serialization could only be performed on x86_64 hosts. This made testing more complicated and prevented tests in the common/ directory from being enabled on aarch64. Running these tests on aarch64 was not strictly necessary, but figuring out which tests should and should not run on aarch64 was becoming complicated. This should make it simple. The old serialization format can still be loaded, newly created Snapshots will use the new format. The old serialization format did not have any sort of header, so we identify the old data by its size. PiperOrigin-RevId: 483480215

Commit:26025d4
Author:Nick Bray
Committer:Copybara-Service

Add aarch64 to Snapshot arch enum PiperOrigin-RevId: 479155933

Commit:33c54be
Author:Nick Bray
Committer:Copybara-Service

Remove "Linux" from snapshot architecture enum value name This enum isn't really entangled with the OS in practice. Treating it purely as a chip architecture is a conceptual simplification that makes it clearer how to add aarch64 support. If we need to bind snapshots to OSes in the future, we can add a separate, orthogonal field. PiperOrigin-RevId: 478863790

Commit:de50461
Author:Kostik Shtoyk
Committer:Copybara-Service

Add Alderlake and Coffeelake to the list of known platforms. Also expand the list of recognized Icelakes and fix some comments. PiperOrigin-RevId: 473007511

Commit:83e4814
Author:Konstantin Shtoyk

Initial import