[strace/strace] Cannot specify more than one -einject=<...>:<...>:when=<...> expression for a single syscall (#173)
Elvira Khabirova
notifications at github.com
Sun Feb 7 13:24:12 UTC 2021
For example, currently, invoking strace like this:
```
strace -einject=chdir:retval=1000:when=1 \
-einject=chdir:retval=2000:when=2
```
injects 2000 at the second occurence of `chdir`, but ignores the first inject expression.
Considering overlapping expressions, when invoked for example like this:
```
strace -einject=<...>:<...>:when=first+step1 \
-einject=<...>:<...>:when=first+step2
```
strace should perform both injections on steps `first+step1*step2`, in the order from first specified to last specified.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20210207/d42bf1b2/attachment.htm>
More information about the Strace-devel
mailing list