Skip to content

Conversation

andrurogerz
Copy link
Collaborator

Purpose

Check the link audit version the ELF debug header is not greater than the current version, LAV_CURRENT rather than exactly equal to it.

Background

On a recent Linux host, LAV_CURRENT is defined as 2, while modules may be 1 or 2. Changing the check this way allows both v1 and v2 modules to load, which is safe since the header layouts did not between versions.

Validation

Manually ran image list from lldb when attached to a remote-linux ds2 server (on Fedora 40) and verified the list of modules matches the list generated when doing the same against an lldb-server instance.

@andrurogerz andrurogerz merged commit acb7581 into compnerd:main Nov 4, 2024
30 checks passed
@andrurogerz andrurogerz deleted the lav-current branch November 4, 2024 15:16
andrurogerz added a commit that referenced this pull request Nov 6, 2024
…nd Linux (#177)

Enable lldb test cases on Android and Linux that now pass due to recent
fixes.

The large number of enabled Linux tests were fixed by #173.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants