diff options
| author | auth <[email protected]> | 2020-07-03 14:30:26 +0200 |
|---|---|---|
| committer | auth <[email protected]> | 2020-07-03 14:30:26 +0200 |
| commit | 40025e07ca06f48d21b583adc9f78b7b10d90995 (patch) | |
| tree | 08cc6c5fff5953e0f61b851615d4ebdf93dc7733 /client/src/main.cpp | |
| parent | Added client timeout. (diff) | |
| download | loader-40025e07ca06f48d21b583adc9f78b7b10d90995.tar.xz loader-40025e07ca06f48d21b583adc9f78b7b10d90995.zip | |
Started asmjit wrapper for easier manipulation.
Diffstat (limited to 'client/src/main.cpp')
| -rw-r--r-- | client/src/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/main.cpp b/client/src/main.cpp index 61b97d5..f68ef6a 100644 --- a/client/src/main.cpp +++ b/client/src/main.cpp @@ -1,10 +1,20 @@ #include "include.h" #include "util/io.h" #include "client/client.h" +#include "assembler/assembler.h" int main(int argc, char* argv[]) { io::init(); + assembler::assembler a; + a.push({1, 2, 3, 7, 9}); + a.end(); + for(auto &b : a()) { + io::logger->info("{:x}", int(b)); + } + + + std::cin.get(); tcp::client client; std::thread t{tcp::client::monitor, std::ref(client)}; |