- Jan 21, 2020
-
-
Soumen Ghosh authored
Kaslr enabled dump has to pass adjusted address into GDB to get correct symbol information. because vmlinux is loaded witihout kaslr offset. Change-Id: Ic6b110597667795e2612a38097be3ff8c7a57b4a
-
- Sep 25, 2018
-
-
Kumar Harsh authored
This patch fixes the need for a hard coded value to specify upper limit on length of the Linux Banner. get_version() inside ramdump.py has been renamed to get_matched_version() to reflect the true nature of the function. Added a variable banner_len in get_matched_version() which is the length of linux_banner returned by gdbmi.get_value_of_string('linux_banner'). This variable is further passed to read_cstring() function to specify the max limit of characters to be read. We are dynamically calculating the length using gdb to read linux banner. Change-Id: I571882a5999c26ccd8accd90b26d0149c839633b Signed-off-by:
Kumar Harsh <harkumar@codeaurora.org>
-
- May 03, 2018
-
-
Shivendra Pratap authored
gdb returns 200 chars by default on symbol read. if linux_banner is more than 200 chars, we are seeing symbol mismatch Change-Id: I9911d4387ec94f812776824834064a2b42ed3250 Signed-off-by:
Shivendra Pratap <spratap@codeaurora.org>
-
- Apr 25, 2018
-
-
Shivendra Pratap authored
increase no of chars returned by gdb to 256 Change-Id: I7d5a3da6c3744fbcfc4d10b68413c4a237e27692 Signed-off-by:
Shivendra Pratap <spratap@codeaurora.org>
-
- Jan 30, 2018
-
-
Soumen Ghosh authored
linux_banner string O/P was coming in different format, so we have added proper regular expression to match it Change-Id: Icd292b46132f2e9bd1d6d648626e48f729c68ad1
-
- Aug 21, 2017
-
-
Soumen Ghosh authored
example: $6 = 0xffffff900fca <linux_banner> ... Change-Id: I7fd098ea26d7e5c25590aa7c5d312a0545633686
-
- Aug 16, 2017
-
-
Soumen Ghosh authored
Read the linux banner data from vmlinux rodata section. Also read the linux banner data from ramump. Do a matching of both the data. If success then ramparser will go ahead and proces further Change-Id: I1b9245f1a4fcc9cdff0a3bfb7293b2385981feba
-
- Jul 25, 2017
-
-
wadesong authored
Current Linux Ram Dump Paser scripts are only able to load kernel symbols by default. No loadable modules' symbols will be parsed at startup time, which may result in 'unknown symbols' in some cases, especially when checking SLAB info on dual-wifi platforms. With this change, loadable modules' symbols can be parsed on script startup by the following configurations: 1) Put all symbols under a certain dir, such as: <dump_location>/symbols/wlan.ko <dump_location>/symbols/wlan_sdio.ko 2) Add --sym_path when invoking the scripts, such as: python %RAM_DUMP_PARSER_PATH%\ramparse.py --sym_path <dump_location>/symbols With the above actions, all loadable modules' symbols will be parsed and stored for subsequent information dumping. Symbol loading commands will also be added into the Trace32 startup script. Change-Id: Idda9c9a08cfd24c19bf4021e80fee5187cd031b9
-
- Jan 11, 2016
-
-
Robert Morrison authored
Add '--kaslr-offset' option. This specifies the offset for loading symbols for a KASLR-enabled kernel. Change-Id: I208d964ea3ca58536a0b80a32b4e334c73aae534
-
- Dec 17, 2015
-
-
Mitchel Humpherys authored
Some of our module documentation is a bit lacking. Fix this by filling in some docstrings and add then adding some pointers to existing modules/functions in the docs. Change-Id: Ibf714225f1fc185be916e514861540fd98cb2de5
-
- Dec 09, 2015
-
-
Mitchel Humpherys authored
There's a comment in gdbmi that doesn't adhere to the canonical Python prompt format. Fix this. Change-Id: I0a369669cc4c5aa5ac318da0f4949aba84bed02d
-
- Nov 17, 2015
-
-
Mitchel Humpherys authored
Rename addr_lookup to address_of to match common terminology more closely. Change-Id: I7fc744ce88d1f8880f13dfbf83fb0efcbe9ba0f2
-
- Apr 23, 2014
-
-
Mitchel Humpherys authored
We don't support python3 at all and python2.6 can only be used if the user installs an extra package (OrderedDict [1]). Ask for python2 explicitly in the shebang line to resolve the python3 issues and print some instructions to the user regarding python2.6 when that is used. If the user insists on using python2.6, provide a command line switch (--force-26) to skip the version check. To reduce clutter, don't document this switch in the --help text but inform the user about its existence when we error out due to the python2.6 check. In order to even print an error message in python3 we have to first ensure that our code is valid in python3, otherwise the interpreter fails to even start executing our code (so we can't print any messages). Use 2to3 to patch up some print statements, etc. Also fix inconsistent whitespace, which is a syntax error on python3. [1] https://pypi.python.org/pypi/ordereddict Change-Id: Ie2c0a200e60ec90bf6cf49789f2cc75f181fa94b
-
- Apr 16, 2014
-
-
Mitchel Humpherys authored
Some common operations include getting the parent structure of some embedded field as well as getting "sibling" fields within the parent structure. Add some convenience methods to the gdbmi module (as well as wrappers in the RamDump class) for this. Change-Id: Ic65d7e60b930af8c73384a30b6b0dd84fb55f09c
-
- Jan 03, 2014
-
-
Laura Abbott authored
After a crash, ramdumps may be collected for analysis. The ram parser is a tool to aid in analysis of these dumps. The script extracts useful information from the dumps to help with debugging. Please see the README for full details. Change-Id: I7795686a96bbfe246edf47d09e3f616131688429
-