Yes, I know what an access violation is. What I'm saying is that this isn't an access violation and wouldn't match any heuristics for it. Why would this particular for loop raise flags, and not any other loops in the C++ runtime? I'm sure a lot of other programs this antivirus has scanned iterates over argv without raising any flags. The point I'm trying to make is that this was probably caused by the executable being generated (as other people have mentioned), rather than this particular loop.
Look at the name the AV has given to the virus. It's matched a heuristic, which is fairly typical of generated executables (binders and packers do that a lot), which is what's happened when this has been compiled.
That's a good idea, actually. I'll work on cleaning the script up a bit first. I might even try to get it added to AUR if it's possible, but I'll first find out how that's done.
I'm particularly cack-handed with shell scripting, so the script modification is somewhat patched together. I'm still working on getting the script to work with wildcard device names, eg.:
Thanks! I'll take a look at what other people use as inspiration. I think my colour scheme needs a revamp first; I remember seeing an image-to-colour-scheme generator on here somewhere. I'll see if I can find it again so I can make my colours match my wallpaper.
I've not read any tutorials at all for this except one tip from someone, that limiting your palette generally makes things more controlled. The dithering used is just plain checkerboard dithering so I'm not sure if that's great either.
Kim, himself, wore the next generation of battle armour, titanium plates strengthened with graphene weaves. No normal man could wear that armor and stay standing. But Kim was definitely not normal. He stood at close to 7 human feet, towering over many alien species. His arms were barely contained within the armor itself, the muscles straining to be released.
Tetris is actually pretty difficult to write, especially block rotation in regards to what happens when the current shape is at the side of the board. However it's a fun project nevertheless.
Yes, I know what an access violation is. What I'm saying is that this isn't an access violation and wouldn't match any heuristics for it. Why would this particular
forloop raise flags, and not any other loops in the C++ runtime? I'm sure a lot of other programs this antivirus has scanned iterates over argv without raising any flags. The point I'm trying to make is that this was probably caused by the executable being generated (as other people have mentioned), rather than this particular loop.Look at the name the AV has given to the virus. It's matched a heuristic, which is fairly typical of generated executables (binders and packers do that a lot), which is what's happened when this has been compiled.
If it's not smart enough to detect
i < argc, then it's probably not smart enough to pick up on a memory read at all.Whatdoyoumean,it'sfineonmyend
Or it could store the RAM in bytes into a 32-bit integer. 12GB might overflow a few times in that case.
Yep, fixed on my end now too.
I'm just using dwm, hence why this isn't automatic.
That's a good idea, actually. I'll work on cleaning the script up a bit first. I might even try to get it added to AUR if it's possible, but I'll first find out how that's done.
Thanks for the suggestion.
I'm particularly cack-handed with shell scripting, so the script modification is somewhat patched together. I'm still working on getting the script to work with wildcard device names, eg.:
EDIT: This has been fixed as of today. The script is far more maintainable now.
It does that so, if one tab crashes or JavaScript/Flash/Java/whatever becomes unresponsive, the entire browser doesn't lock up too.
i3? You mean dwm?
(ignore the stuff in the top-right, my monitors are different sizes)
On my old Toshiba laptop (with 2GB) I can run the Windows 10 developer preview, Office and VS just fine.
I only use it for coursework however and Lubuntu and Arch run much nicer.
Systemd is beautiful. As someone who isn't that experienced with Linux it just makes so much sense.
Thanks! I'll take a look at what other people use as inspiration. I think my colour scheme needs a revamp first; I remember seeing an image-to-colour-scheme generator on here somewhere. I'll see if I can find it again so I can make my colours match my wallpaper.
I've learned about:
What
systemdis, after hearing about the recent systemd vs. sysvinit debateBash scripting - finally! Especially learning to use tools such as
sedandgrepbetter, and to use the man pages effectivelyCurrently learning to use vim, dwm and the user/group system in Linux
It's been frustrating at times but definitely worth it. Thanks again, Arch community - without that gold mine of a wiki I'd still be stuck on Windows.
That's a reflection of camera flash on a nebula.
I've not read any tutorials at all for this except one tip from someone, that limiting your palette generally makes things more controlled. The dithering used is just plain checkerboard dithering so I'm not sure if that's great either.
That's some untextured polygons.
Kim Jong-117
Now I know who Master Chief is.
MiKTeX is a latex extension I believe.
Tetris is actually pretty difficult to write, especially block rotation in regards to what happens when the current shape is at the side of the board. However it's a fun project nevertheless.
You know you can't trust software when the hyphenation is off.
How do I crop images again?
Killed it.