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

Merged
merged 5 commits into from
Dec 22, 2024
Merged

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>`.
Copy link
Member

@Aemiii91 Aemiii91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! 😁

@Aemiii91 Aemiii91 added this pull request to the merge queue Dec 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Dec 22, 2024
@Aemiii91 Aemiii91 enabled auto-merge December 22, 2024 18:46
@Aemiii91 Aemiii91 added this pull request to the merge queue Dec 22, 2024
Merged via the queue into OnionUI:main with commit 75d1639 Dec 22, 2024
2 checks passed
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