Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search path functionality should be smarter and faster #238

Open
sdimitro opened this issue Aug 19, 2020 · 0 comments
Open

search path functionality should be smarter and faster #238

sdimitro opened this issue Aug 19, 2020 · 0 comments

Comments

@sdimitro
Copy link
Contributor

The -s option can be slow when ran against fully copied /lib/module and /usr/lib/debug/lib/module` paths that contain many unnecessary modules for the target dump that is being examined. Besides being slow, it's naive algorithm is also prone to issues like running out of open file handles (see #202).

We should change its behavior so that once the appropriate vmlinux has been loaded up, sdb goes through list of modules that were loaded when the crash dump was captured, and only look for the .ko files that match them.

Fixing this bug will involve creating an extra step on SDB's initialization of the underlying DRGN session and getting rid of the naive algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant