mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	 f4b95835d1
			
		
	
	
		f4b95835d1
		
	
	
	
	
		
			
			We've had quite some instances of people reintroducing these kinds of links because they didn't know about the "new" help:// scheme. This check should now prevent that from happening, though it might in rare circumstances trigger a false positive.
		
			
				
	
	
		
			38 lines
		
	
	
	
		
			668 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			668 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| pmemdump - dump physical memory
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**sh
 | |
| $ pmemdump [-r] <offset> <length>
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| Dump a portion of the physical memory space.
 | |
| 
 | |
| 
 | |
| ## Options
 | |
| 
 | |
| * `-r`: Dump from /dev/mem with `read(2)` instead of doing `mmap(2)` on it.
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| ```sh
 | |
| $ pmemdump -r 983040 65536 
 | |
| $ pmemdump 983040 65536 
 | |
| ```
 | |
| 
 | |
| ## Notes
 | |
| 
 | |
| The pmemdump utility opens the `/dev/mem` file, and gets a mapping by doing `mmap(2)`
 | |
| on it.
 | |
| 
 | |
| Using the `-r` flag might be useful sometimes, especially when reading from an unaligned
 | |
| reserved physical memory region when trying to `mmap(2)` `/dev/mem` on the specified
 | |
| offset fails.
 | |
| 
 | |
| ## See also
 | |
| 
 | |
| * [`mem`(4)](help://man/4/mem)
 |