--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/9a0bc2d0-c29e-472f-94e2-32179a9fbeb4n%40googlegroups.com.
Yes I understand that, I was only trying to figure out what am I lookin at. Speaking of which I have a couple of questions:- after taking a look at this snippet I've noticed that sys_param_addr( ) refers to five registers (rdi, rsi, rdx, r10, r9, r8).
Does dr_syscall_get_param(drcontext, param_num) use this function to read the value of the parameter? What if I want to read also other register's value?
And, from my previous post> Since dr_syscall_get_param does not know how much parameters there are in a syscall should I use drsys_iterate_args instead to read safely ALL the syscall parameters?For the NtClose matter I understood what you said, in fact, over a few calls I can see just a couple of zeros:NtClose
ARGS e4, 0, 1, 0, 1, 7ff9e2365b1f, 7ffe0301, 1
NtClose
ARGS ec, 0, 244aa0d0801, 0, 1, 7ff9e2365b49, 7ffe0301, 1
NtClose
ARGS 80, 0, 0, 0, 0, 7ff9e09973c9, 60138ed000, 242a9ec47e0
NtClose
ARGS 64, 0, 0, 242a9ed0630, 0, 7ff9e0510d32, 1, 1
NtClose
ARGS 0, 0, 0, 0, 7ff9e0500069, 7ff9eb5107a3, 0, 0
NtClose
ARGS 7c, 0, 0, 1, 7ff9e0504a00, 7ff9e05337cc, 1, 0NtClose
ARGS 0, 0, 0, 1, 7ff9e05009f0, 7ff9e05107cc, 0, 0NtClose
ARGS 6e, 0, 1, 1, 7ff9e050c000, 7ff9e05107cc, 0, 1Thank you guys.
--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/4899dddd-0a01-4b17-be8c-a9685045d19an%40googlegroups.com.
On Linux x86_64, but it's different elsewhere. There are precise interfaces between user and kernel specifying which syscall args are where depending on the platform. Some are in stack slots on some platforms
And, from my previous post> Since dr_syscall_get_param does not know how much parameters there are in a syscall should I use drsys_iterate_args instead to read safely ALL the syscall parameters?For the NtClose matter I understood what you said, in fact, over a few calls I can see just a couple of zeros:NtClose
ARGS e4, 0, 1, 0, 1, 7ff9e2365b1f, 7ffe0301, 1
NtClose
ARGS ec, 0, 244aa0d0801, 0, 1, 7ff9e2365b49, 7ffe0301, 1
NtClose
ARGS 80, 0, 0, 0, 0, 7ff9e09973c9, 60138ed000, 242a9ec47e0
NtClose
ARGS 64, 0, 0, 242a9ed0630, 0, 7ff9e0510d32, 1, 1
NtClose
ARGS 0, 0, 0, 0, 7ff9e0500069, 7ff9eb5107a3, 0, 0
NtClose
ARGS 7c, 0, 0, 1, 7ff9e0504a00, 7ff9e05337cc, 1, 0NtClose
ARGS 0, 0, 0, 1, 7ff9e05009f0, 7ff9e05107cc, 0, 0NtClose
ARGS 6e, 0, 1, 1, 7ff9e050c000, 7ff9e05107cc, 0, 1Thank you guys.
On Linux x86_64, but it's different elsewhere. There are precise interfaces between user and kernel specifying which syscall args are where depending on the platform. Some are in stack slots on some platformsOh, ok. So if I'm on Windows dr_syscall_get_params( ) automatically follows the right calling convention?
And, from my previous post> Since dr_syscall_get_param does not know how much parameters there are in a syscall should I use drsys_iterate_args instead to read safely ALL the syscall parameters?For the NtClose matter I understood what you said, in fact, over a few calls I can see just a couple of zeros:NtClose
ARGS e4, 0, 1, 0, 1, 7ff9e2365b1f, 7ffe0301, 1
NtClose
ARGS ec, 0, 244aa0d0801, 0, 1, 7ff9e2365b49, 7ffe0301, 1
NtClose
ARGS 80, 0, 0, 0, 0, 7ff9e09973c9, 60138ed000, 242a9ec47e0
NtClose
ARGS 64, 0, 0, 242a9ed0630, 0, 7ff9e0510d32, 1, 1
NtClose
ARGS 0, 0, 0, 0, 7ff9e0500069, 7ff9eb5107a3, 0, 0
NtClose
ARGS 7c, 0, 0, 1, 7ff9e0504a00, 7ff9e05337cc, 1, 0NtClose
ARGS 0, 0, 0, 1, 7ff9e05009f0, 7ff9e05107cc, 0, 0NtClose
ARGS 6e, 0, 1, 1, 7ff9e050c000, 7ff9e05107cc, 0, 1Thank you guys.I think that something is missing here (?) you just quoted the question but there is no further info.
--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/de9187bd-346f-48be-b219-672ede8d8462n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/fb92f73f-0aab-4470-82c9-f75256c43e86n%40googlegroups.com.