Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
MISRA: before and after
Archon
Nov 14th, 2010
328
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
//without MISRA
int
main
(
)
{
while
(
new
int
[
1000
]
)
;
}
//with MISRA
typedef
int
int_t
;
int
main
(
)
{
while
(
new
int_t
[
unsigned
(
1000
)
]
!
=
0
)
{
;
}
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Signals
CSS | 9 min ago | 0.26 KB
Free money using older build [1.3]
CSS | 20 min ago | 0.26 KB
Changelly.com Exploit
CSS | 32 min ago | 0.26 KB
✅ I made $800 with this method
CSS | 43 min ago | 0.26 KB
Basic error handling in Rust with Ok and Err(...
Rust | 10 hours ago | 1.02 KB
Self, &self, &mut self, and self in R...
Rust | 10 hours ago | 2.16 KB
MediaKnight Download Denied Page
14 hours ago | 1.72 KB
PDF Bisindo
21 hours ago | 0.48 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!