a.elf for elf tests
parent
904a205728
commit
f31929ca5b
Binary file not shown.
|
@ -45,7 +45,7 @@ IN: elf.tests
|
|||
}
|
||||
}
|
||||
[
|
||||
"resource:extra/elf/a.out" [
|
||||
"resource:extra/elf/a.elf" [
|
||||
sections [ name>> ] map
|
||||
] with-mapped-elf
|
||||
]
|
||||
|
@ -74,7 +74,7 @@ unit-test
|
|||
}
|
||||
}
|
||||
[
|
||||
"resource:extra/elf/a.out" [
|
||||
"resource:extra/elf/a.elf" [
|
||||
segments [ program-header>> p_type>> PT_LOAD = ] find nip
|
||||
sections [ name>> ] map
|
||||
] with-mapped-elf
|
||||
|
@ -158,7 +158,7 @@ unit-test
|
|||
}
|
||||
}
|
||||
[
|
||||
"resource:extra/elf/a.out" [
|
||||
"resource:extra/elf/a.elf" [
|
||||
sections ".symtab" find-section symbols
|
||||
[ name>> ] map
|
||||
] with-mapped-elf
|
||||
|
@ -172,7 +172,7 @@ unit-test
|
|||
}
|
||||
}
|
||||
[
|
||||
"resource:extra/elf/a.out" [
|
||||
"resource:extra/elf/a.elf" [
|
||||
sections ".symtab" "main" find-section-symbol
|
||||
symbol-data >byte-array
|
||||
] with-mapped-elf
|
||||
|
|
|
@ -47,5 +47,5 @@ STRING: validation-output
|
|||
;
|
||||
|
||||
{ $ validation-output }
|
||||
[ <string-writer> dup [ "resource:extra/elf/a.out" nm ] with-output-stream >string ]
|
||||
[ <string-writer> dup [ "resource:extra/elf/a.elf" nm ] with-output-stream >string ]
|
||||
unit-test
|
||||
|
|
Loading…
Reference in New Issue