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

Fixing issues caught with address sanitizer #1664

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MattCatz
Copy link
Contributor

@MattCatz MattCatz commented Sep 8, 2024

Mostly just freeing strings and closing files. None of these are too
severe. Changes should be fairly self explanatory but please ask if
something is not clear. I have my device running with these changes.

Also add in the changes needed for someone else to enable the sanitizer.
SANITIZE set to 1 will statically link all targets in the src/
dir. This makes shared library shimming a bit less annoying (at
the cost of bin size).

Programs will not be haulted if ASAN detects anything weird. Instead
a log file will be created as .tmp_update/logs/ASAN.log.<PID>.

MattCatz and others added 4 commits August 19, 2024 17:36
`SANITIZE` set to 1 will statically link all targets in the `src/`
dir. This makes shared library shimming a bit less annoying (at
the cost of bin size).

Programs will not be haulted if ASAN detects anything weird. Instead
a log file will be created as `.tmp_update/logs/ASAN.log.<PID>`.
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.

1 participant