have 3 entrypoints in trinity list on CentOS 6
Hi All:
I'm beginner for Trinity tool, it's very good. Thanks a lot.
When try command ./trinity -L , got some syscalls have 3 entrypoint , e.g:
32-bit entrypoint 28 fstatfs : Enabled
32-bit entrypoint 100 fstatfs : Enabled
64-bit entrypoint 138 fstatfs : Enabled
...
32-bit entrypoint 109 uname : Enabled
32-bit entrypoint 122 uname : Enabled
64-bit entrypoint 63 uname : Enabled
...
32-bit entrypoint 187 sendfile : Enabled
32-bit entrypoint 239 sendfile : Enabled
64-bit entrypoint 40 sendfile : Enabled
...
32-bit entrypoint 82 select : Enabled AVOID
32-bit entrypoint 142 select : Enabled AVOID
64-bit entrypoint 23 select : Enabled AVOID
...
32-bit entrypoint 76 getrlimit : Enabled
32-bit entrypoint 191 getrlimit : Enabled
64-bit entrypoint 97 getrlimit : Enabled
...
And seems only two of them syscalls are using in testing; I'm using "Latest release is v1.2, released on Jul 22nd 2013" on CentOS6.4, not sure it's my test bed issue, please help to check.
Thanks.
Frank
Quoted 5 lines · Frank H
Hi All:
I'm beginner for Trinity tool, it's very good. Thanks a lot.
When try command ./trinity -L , got some syscalls have 3 entrypoint , e.g:
This is just a cosmetic thing. Ignoring the 64bit variants:
Quoted 2 lines
32-bit entrypoint 28 fstatfs : Enabled 32-bit entrypoint 100 fstatfs : Enabled
This is actually fstatfs & fstatfs64
Quoted 2 lines
32-bit entrypoint 109 uname : Enabled 32-bit entrypoint 122 uname : Enabled
'olduname' & 'uname'
Quoted 2 lines
32-bit entrypoint 187 sendfile : Enabled 32-bit entrypoint 239 sendfile : Enabled
'sendfile' & 'sendfile64'
Quoted 2 lines
32-bit entrypoint 82 select : Enabled AVOID 32-bit entrypoint 142 select : Enabled AVOID
'select' & 'newselect'
Because trinity treats all these functions the same, rather than duplicate everything twice, we re-use the same syscall structure for both entries.
Dave