Binder 命令 BC_ 和BR_的16进制值

来源:互联网 发布:单片机有哪几部分组成 编辑:程序博客网 时间:2024/06/05 01:51


转自: http://security.my/post/61785017670/fun-with-linux-internals


对于看Binder相关的反汇编的同学,下面的也许会有帮助。



  • Ioctl 相关的:


0xc0186201 - BINDER_WRITE_READ

0x40086203 - BINDER_SET_IDLE_TIMEOUT

0x40046205 - BINDER_SET_MAX_THREADS

0x40046206 - BINDER_SET_IDLE_PRIORITY
0x40046207 - BINDER_SET_CONTEXT_MGR
0x40046208 - BINDER_THREAD_EXIT
0xc0046209 - BINDER_VERSION

  • Binder return命令的16进制值:


0x80047200 - BR_ERROR
0x00007201 - BR_OK


0x80287202 - BR_TRANSACTION
0x80287203 - BR_REPLY

0x80047204 - BR_ACQUIRE_RESULT
0x00007205 - BR_DEAD_REPLY
0x00007206 - BR_TRANSACTION_COMPLETE

0x80087207 - BR_INCREFS
0x80087208 - BR_ACQUIRE
0x80087209 - BR_RELEASE
0x8008720a - BR_DECREFS

0x800c720b - BR_ATTEMPT_ACQUIRE

0x0000720c - BR_NOOP
0x0000720d - BR_SPAWN_LOOPER
0x0000720e - BR_FINISHED

0x8004720f - BR_DEAD_BINDER
0x80047210 - BR_CLEAR_DEATH_NOTIFICATION_DONE
0x00007211 - BR_FAILED_REPLY


  • Binder command对应的16进制码:


0x40286300 - BC_TRANSACTION
0x40286301 - BC_REPLY

0x40046302 - BC_ACQUIRE_RESULT
0x40046303 - BC_FREE_BUFFER
0x40046304 - BC_INCREFS
0x40046305 - BC_ACQUIRE
0x40046306 - BC_RELEASE
0x40046307 - BC_DECREFS

0x40086308 - BC_INCREFS_DONE
0x40086309 - BC_ACQUIRE_DONE
0x4008630a - BC_ATTEMPT_ACQUIRE


0x0000630b - BC_REGISTER_LOOPER
0x0000630c - BC_ENTER_LOOPER
0x0000630d - BC_EXIT_LOOPER

0x4008630e - BC_REQUEST_DEATH_NOTIFICATION
0x4008630f - BC_CLEAR_DEATH_NOTIFICATION
0x40046310 - BC_DEAD_BINDER_DONE

0 0
原创粉丝点击