-
Notifications
You must be signed in to change notification settings - Fork 6
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
Merge branch 'master' into '6.0/stage' #24
Commits on Apr 2, 2021
-
docs: add missing css, favicon, and logo files to sdist
Closes osandov#96. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39f17a5 - Browse repository at this point
Copy the full SHA 39f17a5View commit details -
tests: rename test_type_dies for pytest compatibility
Signed-off-by: Davide Cavalca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 081d777 - Browse repository at this point
Copy the full SHA 081d777View commit details -
tests: properly escape regexp strings
Signed-off-by: Davide Cavalca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ca1573 - Browse repository at this point
Copy the full SHA 7ca1573View commit details -
libdrgn: type: fix memcpy() undefined behavior
It's undefined behavior to pass NULL to memcpy() even if the length is zero. See also commit a17215e ("libdrgn: dwarf_index: fix memcpy() undefined behavior"). Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9dc7fd - Browse repository at this point
Copy the full SHA c9dc7fdView commit details -
libdrgn: object: fix UBSan error for uninitialized boolean
drgn_object_reinit() and drgn_object_copy() can both load from an uninitialized little_endian field, causing UBSan errors like: libdrgn/object.h:105:27: runtime error: load of value 68, which is not a valid value for type '_Bool' This only happens when little_endian isn't valid for the type and won't be used anyways, but it's easy enough to work around. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c31f11 - Browse repository at this point
Copy the full SHA 9c31f11View commit details -
libdrgn: fix UBSan "applying zero offset to null pointer" errors
There are a couple of places where we compute `NULL + 0`, which is undefined behavior. Add a helper to do this safely. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 301cc3f - Browse repository at this point
Copy the full SHA 301cc3fView commit details -
libdrgn: work around Clang __muloti4 for the third time
See commit 0cb77b3 ("libdrgn: work around Clang __muloti4 again") and commit 2dd14ad ("libdrgn: work around "undefined reference to '__muloti4'" when using Clang"). These keep sneaking in because I don't have an old enough version of Clang lying around. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c86e30 - Browse repository at this point
Copy the full SHA 5c86e30View commit details -
libdrgn: cfi: don't rely on member containing a flexible array
Clang enables -Wgnu-variable-sized-type-not-at-end by default, which warns for DRGN_CFI_ROW(): arch_x86_64.c:735:27: warning: field 'row' with variable sized type 'struct drgn_cfi_row' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] .default_dwarf_cfi_row = DRGN_CFI_ROW( DRGN_CFI_ROW() is gnarly anyways, so instead of having it expand to a pointer expression relying on this GCC extension, make it expand to an initializer. Then, we can initialize default_dwarf_cfi_row as a separate variable rather than directly in the initializer for struct drgn_architecture_info. This still relies on a GCC extension for static initialization of flexible array members, but apparently Clang is okay with that one by default (-Wgnu-flexible-array-initializer must be enabled explictly or by -Wgnu or -Wpedantic). Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b772432 - Browse repository at this point
Copy the full SHA b772432View commit details -
libdrgn: hash_table: remove unused table##_chunk_set_capacity_scale()
The folly implementation calls this elsewhere, but we only need it in table##_chunk_mark_eof(), so it was folded in there. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for acf722d - Browse repository at this point
Copy the full SHA acf722dView commit details -
libdrgn: hash_table: mark table##_delete_iterator() as unused
GCC doesn't warn about table##_delete_iterator() being unused because it is inline, but Clang does, so add the unused attribute. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76d3348 - Browse repository at this point
Copy the full SHA 76d3348View commit details
Commits on Apr 3, 2021
-
Everytime I try to build drgn with Clang, there are a few things that need fixing. Let's test it so that it stays in good shape. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 113b270 - Browse repository at this point
Copy the full SHA 113b270View commit details -
This is the documented way that drgn should be built for development, so let's enforce it. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7dc814 - Browse repository at this point
Copy the full SHA c7dc814View commit details -
Merge branch 'refs/heads/upstream-HEAD' into repo-HEAD
Delphix Engineering committedApr 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 448200f - Browse repository at this point
Copy the full SHA 448200fView commit details -
Use GPL-3.0-or-later license identifier instead of GPL-3.0+
Apparently the latter is deprecated and the former is preferred. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a4b9d68 - Browse repository at this point
Copy the full SHA a4b9d68View commit details -
libdrgn: Makefile: remove generated source files from CLEANFILES
We don't actually want make clean to remove the generated files that are included in a distribution tarball, because then the user will need to regenerate them, and they might not have the dependencies installed. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7367a4 - Browse repository at this point
Copy the full SHA e7367a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78b4188 - Browse repository at this point
Copy the full SHA 78b4188View commit details
Commits on Apr 4, 2021
-
Merge branch 'refs/heads/upstream-HEAD' into repo-HEAD
Delphix Engineering committedApr 4, 2021 Configuration menu - View commit details
-
Copy full SHA for 9b41fb3 - Browse repository at this point
Copy the full SHA 9b41fb3View commit details
Commits on Apr 5, 2021
-
CI: temporarily disable vmtest
With the added Clang tests, apparently vmtest is generating excessive traffic on Dropbox. Disable it on GitHub Actions until I can work out a new solution. Signed-off-by: Omar Sandoval <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7382612 - Browse repository at this point
Copy the full SHA 7382612View commit details
Commits on Apr 6, 2021
-
Merge branch 'refs/heads/upstream-HEAD' into repo-HEAD
Delphix Engineering committedApr 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 531720b - Browse repository at this point
Copy the full SHA 531720bView commit details