mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
16 lines
395 B
C++
16 lines
395 B
C++
#include <iostream>
|
|
|
|
#include <archive.h>
|
|
#include <archive_entry.h>
|
|
#include "helpers.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
std::cout << "WORKS" << std::endl;
|
|
std::vector<std::string> s = MakeAbsolutePaths(argv + 1);
|
|
std::cout << "ok" << std::endl;
|
|
for (const auto &i : s) {
|
|
std::cout << i << std::endl;
|
|
}
|
|
std::cout << "==========" << std::endl;
|
|
return 0;
|
|
} |