But that gets me: while ((c = getopt_long (argc, argv, "hV", opts, NULL)) != -1) It's look, but not the exact expression im looking for
-
Show this thread
-
I want to find me something using the base of the array: from [...] ArrayExpr bufferWrite where buffer.getType() instanceof ArrayType and bufferWriteBase = buffer.getAnAccess() and bufferWriteBase = bufferWrite.getArrayBase() select bufferWrite
1 reply 0 retweets 1 likeShow this thread -
Cool, but that get's me things like: usage (argv[0]);
1 reply 0 retweets 1 likeShow this thread -
I want that inside an assigment, and obviously, on the left part (written): from [..] Assignment a where [...] bufferWriteBase = bufferWrite.getArrayBase() and bufferWrite = a.getLValue() select a
1 reply 0 retweets 1 likeShow this thread -
Getting pretty close, that will get me: [vlc_argc++] = "--quiet";vlc_argv Now I want all of that, inside a loop!!
1 reply 0 retweets 1 likeShow this thread -
from [..] Assignment a, Loop loop where buffer.getType() instanceof ArrayType and bufferWriteBase = buffer.getAnAccess() and bufferWriteBase = bufferWrite.getArrayBase() and bufferWrite = a.getLValue() and loop = a.getEnclosingStmt().getParent*() select a
1 reply 0 retweets 2 likesShow this thread -
And that, as expected give me what I was looking for: for( int i = 0; i < argc; i++ ) my_argv[i + 1] = argv[i]; Array being written into, inside a loop!
2 replies 0 retweets 2 likesShow this thread -
Now you can go and hunt bugs in Linux kernel here: https://lgtm.com/query/4659751768427255775/ … Warning: There will be a LOT of results.
3 replies 11 retweets 45 likesShow this thread -
Replying to @nicowaisman
That is kinda fun, there are some real ones in there, although I dunno how many users plug in malicious monitors
(I think the length of the last pair can exceed the edid[2] length check, i.e. a ton of len=1 and a len=0x1f at the end) https://lgtm.com/projects/g/torvalds/linux/snapshot/56e7115abb329f63ffaec05e990c1a7199ddcd83/files/drivers/video/fbdev/core/fbmon.c?sort=name&dir=ASC&mode=heatmap#L1033 …3 replies 4 retweets 18 likes
Hmm, good point, I guess it's worth sending upstream. You want to report it Nico, or want me to send a quick mail?
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Would this be the case in shared office environments when using docking stations?
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.