Skip to content

Commit

Permalink
Add tests for Linux Execute Command 32-bit/64-bit RISC-V LE payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed Oct 8, 2024
1 parent a0c191c commit c2ec04a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions spec/modules/payloads_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1845,6 +1845,16 @@
reference_name: 'linux/ppc64/shell_reverse_tcp'
end

context 'linux/riscv32le/exec' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'singles/linux/riscv32le/exec'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'linux/riscv32le/exec'
end

context 'linux/riscv32le/reboot' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
Expand All @@ -1855,6 +1865,16 @@
reference_name: 'linux/riscv32le/reboot'
end

context 'linux/riscv64le/exec' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'singles/linux/riscv64le/exec'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'linux/riscv64le/exec'
end

context 'linux/riscv64le/reboot' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
Expand Down

0 comments on commit c2ec04a

Please sign in to comment.