Skip to content

Commit 7de83e4

Browse files
committed
Merge pull request volatilityfoundation#301 from haco20292/linux_dmesg_bugfix
Fix an exception in linux_dmesg
2 parents 447d2c4 + f2c094e commit 7de83e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volatility/plugins/linux/dmesg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ class linux_dmesg(linux_common.AbstractLinuxCommand):
3232

3333
def _get_log_info(self):
3434

35-
ptr_addr = self.addr_space.profile.get_symbol("log_buf")
35+
ptr_addr = self.addr_space.profile.get_symbol("log_buf", "d")
3636
log_buf_addr = obj.Object("unsigned long", offset = ptr_addr, vm = self.addr_space)
37-
log_buf_len = obj.Object("int", self.addr_space.profile.get_symbol("log_buf_len"), vm = self.addr_space)
37+
log_buf_len = obj.Object("int", self.addr_space.profile.get_symbol("log_buf_len", "d"), vm = self.addr_space)
3838

3939
return (log_buf_addr, log_buf_len)
4040

0 commit comments

Comments
 (0)