mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:52:45 +00:00 
			
		
		
		
	DynamicLoader: Make the cached DynamicObject publicly accessible
This commit is contained in:
		
							parent
							
								
									03c46a261f
								
							
						
					
					
						commit
						7bd0a3e9ba
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -80,6 +80,8 @@ public: | ||||||
|     static Optional<DynamicObject::SymbolLookupResult> lookup_symbol(const ELF::DynamicObject::Symbol&); |     static Optional<DynamicObject::SymbolLookupResult> lookup_symbol(const ELF::DynamicObject::Symbol&); | ||||||
|     void copy_initial_tls_data_into(ByteBuffer& buffer) const; |     void copy_initial_tls_data_into(ByteBuffer& buffer) const; | ||||||
| 
 | 
 | ||||||
|  |     DynamicObject const& dynamic_object() const; | ||||||
|  | 
 | ||||||
| private: | private: | ||||||
|     DynamicLoader(int fd, String filename, void* file_data, size_t file_size); |     DynamicLoader(int fd, String filename, void* file_data, size_t file_size); | ||||||
| 
 | 
 | ||||||
|  | @ -107,8 +109,6 @@ private: | ||||||
|         ElfW(Phdr) m_program_header; // Explicitly a copy of the PHDR in the image
 |         ElfW(Phdr) m_program_header; // Explicitly a copy of the PHDR in the image
 | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     const DynamicObject& dynamic_object() const; |  | ||||||
| 
 |  | ||||||
|     // Stage 1
 |     // Stage 1
 | ||||||
|     void load_program_headers(); |     void load_program_headers(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher