Skip to contentSkip to conversation

kzfree script

DISCUSSION Julia Lawall 2 participants 4 messages Oct 2, 2020

lore
Share & tools
lore
#0 lore raw

Denis,

In the rule proposing kzfree_sensitive, I think it would be helpful to also highlight the memset line.

julia

#1 lore raw

Hi,

Quoted 4 lines · Julia Lawall

Denis,

In the rule proposing kzfree_sensitive, I think it would be helpful to also highlight the memset line.

What do you mean? It's "highlighted" in context mode. Do you mean adding position argument to memset call and showing this position in the warning messages?

Thanks,
Denis

#2 lore raw
Quoted 11 lines · Denis Efremov

Hi,

Quoted 4 lines · Julia Lawall

Denis,

In the rule proposing kzfree_sensitive, I think it would be helpful to also highlight the memset line.

What do you mean? It's "highlighted" in context mode. Do you mean adding position argument to memset call and showing this position in the warning messages?

Yes, that seems to be what I mean. 0-day generated a message from the script, and I had to hunt around for the reason why it was doing that. So it would be nice to have the memset highlighted. It seems that the non-patch 0-day messages are generated from the report mode.

thanks,
julia

#3 lore raw
Quoted 12 lines · Julia Lawall
Quoted 8 lines · Denis Efremov

Hi,

Quoted 4 lines · Julia Lawall

Denis,

In the rule proposing kzfree_sensitive, I think it would be helpful to also highlight the memset line.

Quoted 9 lines
Quoted 3 lines

What do you mean? It's "highlighted" in context mode. Do you mean adding position argument to memset call and showing this position in the warning messages?

Yes, that seems to be what I mean. 0-day generated a message from the script, and I had to hunt around for the reason why it was doing that. So it would be nice to have the memset highlighted. It seems that the non-patch 0-day messages are generated from the report mode.

Ok, I will send a patch for it.

Thanks,
Denis