Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix misspelling of asynchronous in SIG30-C#926

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lcartey merged 2 commits intogithub:mainfromjketema:typo
Jul 11, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,15 +37,15 @@ class AsyncSafeVariableAccess extends VariableAccess {
abstract class AsyncSafeFunction extends Function { }

/**
* C standard libraryayncronous-safe functions
* C standard libraryasynchronous-safe functions
*/
class CAsyncSafeFunction extends AsyncSafeFunction {
//tion, or the signal function with the first argument equal to the signal number corresponding to the signal that caused the invocation of the handler
CAsyncSafeFunction() { this.hasGlobalName(["abort", "_Exit", "quick_exit", "signal"]) }
}

/**
* POSIX definedayncronous-safe functions
* POSIX definedasynchronous-safe functions
*/
class PosixAsyncSafeFunction extends AsyncSafeFunction {
PosixAsyncSafeFunction() {
Expand DownExpand Up@@ -73,7 +73,7 @@ class PosixAsyncSafeFunction extends AsyncSafeFunction {
}

/**
* Application definedayncronous-safe functions
* Application definedasynchronous-safe functions
*/
class ApplicationAsyncSafeFunction extends AsyncSafeFunction {
pragma[nomagic]
Expand DownExpand Up@@ -122,5 +122,5 @@ where
or
fc instanceof AsyncUnsafeRaiseCall
)
select fc, "Asyncronous-unsafe function calls within a $@ can lead to undefined behavior.",
select fc, "Asynchronous-unsafe function calls within a $@ can lead to undefined behavior.",
handler.getRegistration(), "signal handler"
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
WARNING: module 'DataFlow' has been deprecated and may be removed in future (CallOnlyAsyncSafeFunctionsWithinSignalHandlers.ql:110,11-19)
WARNING: module 'DataFlow' has been deprecated and may be removed in future (CallOnlyAsyncSafeFunctionsWithinSignalHandlers.ql:110,31-39)
WARNING: module 'DataFlow' has been deprecated and may be removed in future (CallOnlyAsyncSafeFunctionsWithinSignalHandlers.ql:111,9-17)
| test.c:10:3:10:18 | call to log_local_unsafe |Asyncronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:16:7:16:12 | call to signal | signal handler |
| test.c:11:3:11:6 | call to free |Asyncronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:16:7:16:12 | call to signal | signal handler |
| test.c:46:3:46:9 | call to longjmp |Asyncronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:50:7:50:12 | call to signal | signal handler |
| test.c:76:7:76:11 | call to raise |Asyncronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:91:7:91:12 | call to signal | signal handler |
| test.c:10:3:10:18 | call to log_local_unsafe |Asynchronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:16:7:16:12 | call to signal | signal handler |
| test.c:11:3:11:6 | call to free |Asynchronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:16:7:16:12 | call to signal | signal handler |
| test.c:46:3:46:9 | call to longjmp |Asynchronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:50:7:50:12 | call to signal | signal handler |
| test.c:76:7:76:11 | call to raise |Asynchronous-unsafe function calls within a $@ can lead to undefined behavior. | test.c:91:7:91:12 | call to signal | signal handler |
2 changes: 2 additions & 0 deletionschange_notes/2025-07-11-typo-in-alert-message..md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
- `SIG30-C`: `CallOnlyAsyncSafeFunctionsWithinSignalHandlers.ql`
- Fixed a misspelling of "asynchronous" in the alert message.
Loading

[8]ページ先頭

©2009-2025 Movatter.jp