repo.or.cz
/
openc2e.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add non-functional c1 Hatchery
[openc2e.git]
/
tools
/
pathtest.cpp
blob
4f50fd60944797184df9630906a69b7cb81afb8a
1
#include
"PathResolver.h"
2
#include <iostream>
3
4
int
main
(
int
argc
,
char
**
argv
) {
5
for
(
int
i
=
1
;
i
<
argc
;
i
++) {
6
std
::
string orig
=
argv
[
i
];
7
std
::
string res
=
orig
;
8
std
::
cout
<<
orig
<<
" -> "
;
9
if
(
resolveFile
(
res
))
10
std
::
cout
<<
res
;
11
else
12
std
::
cout
<<
"(nil)"
;
13
std
::
cout
<<
std
::
endl
;
14
}
15
return
0
;
16
}