mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-10-27 14:36:32 +01:00 
			
		
		
		
	disable sanitizer recovery in UBSan debug builds
This makes it harder to miss that an error occurred and avoids spamming output. There should never be a single error, so it doesn't make sense to gather as many errors as possible when a single error is already a serious issue that would need to be fixed.
This commit is contained in:
		
							parent
							
								
									d8ebdea05f
								
							
						
					
					
						commit
						8f9f2521a0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -49,8 +49,8 @@ ifeq ($(CONFIG_CXX_ALLOCATOR),true) | |||
| endif | ||||
| 
 | ||||
| ifeq ($(CONFIG_UBSAN),true) | ||||
|     CFLAGS += -fsanitize=undefined | ||||
|     CXXFLAGS += -fsanitize=undefined | ||||
|     CFLAGS += -fsanitize=undefined -fno-sanitize-recover=undefined | ||||
|     CXXFLAGS += -fsanitize=undefined -fno-sanitize-recover=undefined | ||||
| endif | ||||
| 
 | ||||
| ifeq (,$(filter $(CONFIG_SEAL_METADATA),true false)) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue