mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	 aa4d8d26b9
			
		
	
	
		aa4d8d26b9
		
	
	
	
	
		
			
			This can currently parse a really simple module. Note that it cannot parse the DataCount section, and it's still missing almost all of the instructions. This commit also adds a 'wasm' test utility that tries to parse a given webassembly binary file. It currently does nothing but exit when the parse fails, but it's a start :^)
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			108 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			108 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     Parser/Parser.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibWasm wasm)
 | |
| target_link_libraries(LibWasm LibC LibCore)
 |