mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:02:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/Optional.h>
 | |
| #include <AK/Types.h>
 | |
| 
 | |
| #include "LibDebug/DebugSession.h"
 | |
| 
 | |
| namespace Debug::StackFrameUtils {
 | |
| 
 | |
| struct StackFrameInfo {
 | |
|     FlatPtr return_address;
 | |
|     FlatPtr next_ebp;
 | |
| };
 | |
| 
 | |
| Optional<StackFrameInfo> get_info(ProcessInspector const&, FlatPtr current_ebp);
 | |
| 
 | |
| }
 | 
