search for: getstringlength

Displaying 13 results from an estimated 13 matches for "getstringlength".

2018 May 21
0
DSE: Remove useless stores between malloc & memset
...t(s, 0, len); // len > 1 return strlen(s); // optimize to 0 (3) How to check memset and strlen pairs? I have a strlen call, I have a "Value *" for "s". What is the best way to construct memset + strlen pairs? (4) Can this be somehow generalized (and not only for strlen)? So GetStringLength in ValueTracking would be taught about this info (string is empty after memset) (5) new malloc memset folding / memset + strlen case should be implemented in DSE, right? 2018-05-17 21:36 GMT+02:00 Friedman, Eli <efriedma at codeaurora.org>: > The fundamental problem with trying to do t...
2018 May 21
2
DSE: Remove useless stores between malloc & memset
...trlen(s); // optimize to 0 > > (3) How to check memset and strlen pairs? I have a strlen call, I have > a "Value *" for "s". What is the best way to construct memset + > strlen pairs? > > (4) Can this be somehow generalized (and not only for strlen)? So > GetStringLength in ValueTracking would be taught about this info > (string is empty after memset) > > (5) new malloc memset folding /  memset + strlen case should be > implemented in DSE, right? > > 2018-05-17 21:36 GMT+02:00 Friedman, Eli <efriedma at codeaurora.org > <mailto:efriedm...
2018 May 17
3
DSE: Remove useless stores between malloc & memset
Hello, I would like to find a way to do this removal properly. I found DSE and "eliminateNoopStore" can be useful for this thing. What I mean? int *test = malloc(15 * sizeof(int)); test[10] = 12; < ----- remove this store memset(test,0,sizeof(int) * 15); I already checked the function "eliminateNoopStore". Looks good, I think I would be to get the value ("A") we
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...imize to 0 >> >> (3) How to check memset and strlen pairs? I have a strlen call, I have a >> "Value *" for "s". What is the best way to construct memset + strlen pairs? >> >> (4) Can this be somehow generalized (and not only for strlen)? So >> GetStringLength in ValueTracking would be taught about this info (string is >> empty after memset) >> >> (5) new malloc memset folding / memset + strlen case should be >> implemented in DSE, right? >> >> 2018-05-17 21:36 GMT+02:00 Friedman, Eli <efriedma at codeaurora.org&gt...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...return strlen(s); // optimize to 0 > > (3) How to check memset and strlen pairs? I have a strlen call, I have a > "Value *" for "s". What is the best way to construct memset + strlen pairs? > > (4) Can this be somehow generalized (and not only for strlen)? So > GetStringLength in ValueTracking would be taught about this info (string is > empty after memset) > > (5) new malloc memset folding / memset + strlen case should be > implemented in DSE, right? > > 2018-05-17 21:36 GMT+02:00 Friedman, Eli <efriedma at codeaurora.org>: > >> The fun...
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...>>> (3) How to check memset and strlen pairs? I have a strlen call, I have a >>> "Value *" for "s". What is the best way to construct memset + strlen pairs? >>> >>> (4) Can this be somehow generalized (and not only for strlen)? So >>> GetStringLength in ValueTracking would be taught about this info (string is >>> empty after memset) >>> >>> (5) new malloc memset folding / memset + strlen case should be >>> implemented in DSE, right? >>> >>> 2018-05-17 21:36 GMT+02:00 Friedman, Eli <efrie...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...heck memset and strlen pairs? I have a strlen >> call, I have a "Value *" for "s". What is the best way to >> construct memset + strlen pairs? >> >> (4) Can this be somehow generalized (and not only for >> strlen)? So GetStringLength in ValueTracking would be taught >> about this info (string is empty after memset) >> >> (5) new malloc memset folding /  memset + strlen case should >> be implemented in DSE, right? >> >> 2018-05-17 21:36 GMT+02:00 Friedman, Eli &...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...set and strlen pairs? I have a strlen call, I have >>>> a "Value *" for "s". What is the best way to construct memset + >>>> strlen pairs? >>>> >>>> (4) Can this be somehow generalized (and not only for strlen)? So >>>> GetStringLength in ValueTracking would be taught about this info (string is >>>> empty after memset) >>>> >>>> (5) new malloc memset folding / memset + strlen case should be >>>> implemented in DSE, right? >>>> >>>> 2018-05-17 21:36 GMT+02:00...
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...? I have a strlen call, I have >>>>> a "Value *" for "s". What is the best way to construct memset + >>>>> strlen pairs? >>>>> >>>>> (4) Can this be somehow generalized (and not only for strlen)? So >>>>> GetStringLength in ValueTracking would be taught about this info (string is >>>>> empty after memset) >>>>> >>>>> (5) new malloc memset folding / memset + strlen case should be >>>>> implemented in DSE, right? >>>>> >>>>> 20...
2018 May 22
2
DSE: Remove useless stores between malloc & memset
...>>> "s". What is the best way to construct >>> memset + strlen pairs? >>> >>> (4) Can this be somehow generalized (and not >>> only for strlen)? So GetStringLength in >>> ValueTracking would be taught about this >>> info (string is empty after memset) >>> >>> (5) new malloc memset folding / >>>  memset + strlen case shou...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...ll, I >>>>>> have a "Value *" for "s". What is the best way to construct memset + >>>>>> strlen pairs? >>>>>> >>>>>> (4) Can this be somehow generalized (and not only for strlen)? So >>>>>> GetStringLength in ValueTracking would be taught about this info (string is >>>>>> empty after memset) >>>>>> >>>>>> (5) new malloc memset folding / memset + strlen case should be >>>>>> implemented in DSE, right? >>>>>> &gt...
2018 May 22
0
DSE: Remove useless stores between malloc & memset
...t;>>> have a "Value *" for "s". What is the best way to construct memset + >>>>>>> strlen pairs? >>>>>>> >>>>>>> (4) Can this be somehow generalized (and not only for strlen)? So >>>>>>> GetStringLength in ValueTracking would be taught about this info (string is >>>>>>> empty after memset) >>>>>>> >>>>>>> (5) new malloc memset folding / memset + strlen case should be >>>>>>> implemented in DSE, right? >>>...
2012 Oct 12
0
Wine release 1.5.15
...vbscript: Support vb* constants for message box return value. dwrite: Store font family name in IDWriteFontFamily implementation. dwrite: Added IDWriteLocalizedStrings stub. dwrite: Added IDWriteFontFace stub. dwrite: Add family name to string array. dwrite: Implement GetStringLength method. dwrite: Implement GetString(). dwrite: Implement GetFontStretch(). dwrite: Added IDWriteTextFormat stub implementation. dwrite: Use proper table field as stretch value. dwrite: Implement GetWeight() for IDWriteFont. dwrite: Store text format properties....