Skip to content

Commit 9979af9

Browse files
committed
Update the specs
1 parent 75c1415 commit 9979af9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/lib/msf/core/exe/segment_appender_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
it 'should have all the right original section names' do
6666
s_names = []
6767
exe.sections.collect {|s| s_names << s.name}
68-
expect(s_names[0,4]).to eq [".text", ".rdata", ".data", ".rsrc"]
68+
expect(s_names[0,4]).to eq [".text", ".rdata", ".data", ".reloc"]
6969
end
7070

7171
it 'should have the last section set to RWX' do

spec/lib/msf/core/exe/segment_injector_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
it 'should have all the right section names' do
7070
s_names = []
7171
exe.sections.collect {|s| s_names << s.name}
72-
expect(s_names).to eq [".text", ".rdata", ".data", ".rsrc", ".text"]
72+
expect(s_names).to eq [".text", ".rdata", ".data", ".reloc", ".text"]
7373
end
7474

7575
it 'should have the last section set to RWX' do

0 commit comments

Comments
 (0)