forked from osandov/drgn
-
Notifications
You must be signed in to change notification settings - Fork 6
Merge branch 'master' into '6.0/stage' #17
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Omar Sandoval <[email protected]>
Really it's more of a test program than an example program. It's useful for benchmarking, testing with valgrind, etc. It's not built by default, but it can be built manually with: $ make -C build/temp.* examples/load_debug_info And run with: $ ./build/temp.*/examples/load_debug_info Signed-off-by: Omar Sandoval <[email protected]>
It's awkward to make callers cast to char *. Signed-off-by: Omar Sandoval <[email protected]>
Variables can have a non-default endianity. Handle it and clean up variable endian handling. Signed-off-by: Omar Sandoval <[email protected]>
Compile-time constants have DW_AT_const_value instead of DW_AT_location. We can translate those to a value object. Signed-off-by: Omar Sandoval <[email protected]>
setuptools recently started warning if distutils is imported before it. Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
posix_memalign() doesn't have the restriction that the size must be a multiple of the alignment like aligned_alloc() does in C11. Signed-off-by: Omar Sandoval <[email protected]>
The only major change to the folly F14 implementation since I originally ported it is commit 3d169f4365cf ("memory savings for F14 tables with explicit reserve()"). That is a small improvement for small tables and a large improvement for vector tables, which are about to be added. Signed-off-by: Omar Sandoval <[email protected]>
The folly F14 implementation provides 3 storage policies: value, node, and vector. The default F14FastMap/F14FastSet chooses between the value and vector policies based on the value size. We currently only implement the value policy, as the node policy is easy to emulate and the vector policy would've added more complexity. This adds support for the vector policy (adding even more C abuse :) and automatically chooses the policy the same way as folly. It'd be easy to add a way to choose the policy if needed. Signed-off-by: Omar Sandoval <[email protected]>
Clean up the coding style of the remaining few places that the last couple of changes didn't rewrite. Signed-off-by: Omar Sandoval <[email protected]>
sdimitro
approved these changes
Jul 20, 2020
drgn.h is generated from drgn.h.in since commit d60c6a1 ("libdrgn: add register information to platform"). Signed-off-by: Omar Sandoval <[email protected]>
3.16 is EOL and no longer included in the list of releases. Signed-off-by: Omar Sandoval <[email protected]>
My work VPN is apparently closing HTTP connections prematurely, which exposed that urllib won't catch incomplete reads if copied through shutil.copyfileobj(). Check it explicitly. Signed-off-by: Omar Sandoval <[email protected]>
Make the KASLR offset available to Python in a new drgn.helpers.linux.boot module, and move pgtable_l5_enabled() there, too. Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
PyPI's RST parser apparently doesn't know the highlight directive, which snuck into the README in commit 4de147e ("Add CONTRIBUTING.rst"). Use code-block instead. Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
prakashsurya
approved these changes
Jul 29, 2020
delphix-devops-bot
pushed a commit
that referenced
this pull request
Feb 1, 2025
We have a very old feature request to support searching for vmlinux and kernel modules in a directory specified by the user. This is useful, for example, if someone is given a vmcore and the corresponding kernel files. Now that we have the flexibility of the module and debug info options APIs, we can finally support it and add a command line option. Closes #17. Signed-off-by: Omar Sandoval <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.