mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:12:45 +00:00 
			
		
		
		
	Prekernel: Disable KASAN, so it has no effect when enabled
I was working on some more KASAN changes and realized the system no longer links when passing -DENABLE_KERNEL_ADDRESS_SANITIZER=ON. Prekernel will likely never have KASAN support given it's limited environment, so just suppress it's usage.
This commit is contained in:
		
							parent
							
								
									25b76462bf
								
							
						
					
					
						commit
						7fce0693a5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -30,4 +30,4 @@ add_custom_command( | |||
| ) | ||||
| 
 | ||||
| install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Prekernel" DESTINATION boot) | ||||
| set_source_files_properties(${SOURCES} PROPERTIES COMPILE_FLAGS "-fno-sanitize-coverage=trace-pc") | ||||
| set_source_files_properties(${SOURCES} PROPERTIES COMPILE_FLAGS "-fno-sanitize-coverage=trace-pc -fno-sanitize=kernel-address") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Gianforcaro
						Brian Gianforcaro