You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extension Int {
@inlinable public static func insecureRandom(in range: ClosedRange<Int>) -> Int {
Int.random(in: range) // mobsf-ignore: ios_insecure_random_no_generator
}
@inlinable public static func insecureRandom(in range: Range<Int>) -> Int {
Int.random(in: range) // mobsf-ignore: ios_insecure_random_no_generator
}
}
Thank you!
The text was updated successfully, but these errors were encountered:
yanz-safe
changed the title
mobsf-ignore comment does not work in .swift files// mobsf-ignore: ios_log comment does not work in .swift files
Feb 3, 2025
Uh oh!
There was an error while loading. Please reload this page.
My code looks like
But scaning still generates violation
How can I silence this violation for specific lines of code with
ios_log
violationsOther rules are correctly ignored:
Thank you!
The text was updated successfully, but these errors were encountered: