diff options
Diffstat (limited to '')
-rw-r--r-- | dwasm-cpp/dwasm.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dwasm-cpp/dwasm.cpp b/dwasm-cpp/dwasm.cpp index 35ab040..e326411 100644 --- a/dwasm-cpp/dwasm.cpp +++ b/dwasm-cpp/dwasm.cpp @@ -18,13 +18,20 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/ /**********************************************************************************************************************/ +#include <cstddef> +#include <fstream> #include <iostream> #include <string> #include <vector> #include "dwasm.hpp" +#include "misc.hpp" #include "wasm.h" - +/**********************************************************************************************************************/ int main (int argc, char** argv) { + std::string path = "../test/injected.wasm"; + std::ifstream wasm(path, std::ios_base::binary); + read_header(wasm); + //dump_file(wasm); return 0; } /**********************************************************************************************************************/ |