Jiahui Cai

Results 15 comments of Jiahui Cai

@smowton func (s *AccessControlServiceImpl) TestCodeQL(ctx context.Context, req *access_control.TestCodeQLRequest) (resp *access_control.TestCodeQLResponse, err error) { resp = &access_control.TestCodeQLResponse{} res, err := method.AnotherFunc(ctx, req.Birthday) _, err = method.AnotherFunc2(ctx, res) return resp, nil }...

@smowton thanks! But i have another question how can i get the `packagePath()` ? I write like this, but it does not work. ```ql class KitexParam extends UntrustedFlowSource::Range { KitexParam()...

@smowton thanks! The actual package name is returned, can it convert into an expression? Input (string tp, string f), Output string pname

@smowton I mean covert this ql to predicate with result, Is that okay? ```ql from DataFlow::FieldReadNode frn, string pname where frn.getField().hasQualifiedName(pname, "SetDataRequest", "Birthday") select pname ``` like ```ql string getPkgPath(string...

@smowton If use your method,i need select twice, first select pname, then select the taint flow `tp` or `f` is to be `SetDataRequest` and `Birthday `

@smowton Thanks for your reply! I mean can I get the result I want in one query, that looks like i can only query twice to TaintTracking the field.

@smowton Thanks, I just want to make this ql a bit more general. I usually query some repository that i am not familiar, so i do not know the package...

@smowton I just know the field `Birthday` is a string

@smowton Can I find any string in the code, like a search in the IDE

@smowton Does it have the ability to location configuration files? like ymal?