mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-30 22:51:49 +01:00 
			
		
		
		
	first take basing fuzz on v3
This commit is contained in:
		
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							340ff00058
						
					
				
				
					commit
					0098a76fef
				
			
							
								
								
									
										10
									
								
								fuzzing/NullOStream.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								fuzzing/NullOStream.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| #include "NullOStream.h" | ||||
|  | ||||
| void NullOStream::avoidOutOfLineVirtualCompilerWarning() | ||||
| { | ||||
| } | ||||
|  | ||||
| int NullStreambuf::overflow(int c){ | ||||
|     setp(dummyBuffer, dummyBuffer + sizeof(dummyBuffer)); | ||||
|     return (c == traits_type::eof()) ? '\0' : c; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user