ABI | Symbols | Types | Live Readelf |
| Contents |
| Info |
| Calling sequence |
| Stack frame layout |
| Registers usage |
| Signature |
OBJ_bsearch_ (
void const* key,
void const* base,
int num,
int size,
int(*)(void const*, void const*) cmp
) |
|---|---|
| Type | FUNC |
| Bind | GLOBAL |
| Params | 5 |
| Return | void const* |
| Source | obj_dat.c |
| Size | 20 |
| PADDING | PARAM |
| LOCAL | RETURN |
| Pos | Name | Type | Size | Passed |
|---|---|---|---|---|
| INPUT(S) | ||||
| 0 | key | void const* | 8 | %rdi |
| 1 | base | void const* | 8 | %rsi |
| 2 | num | int | 4 | %rdx |
| 3 | size | int | 4 | %rcx |
| 4 | cmp | int(*)(void const*, void const*) | 8 | %r8 |
| RETURN | ||||
| .retval | void const* | 8 | %rax | |
| Offset | Contents | Type |
|---|---|---|
| local space, return address, etc. |
| Name | Contents | Type |
|---|---|---|
| %rax | .retval | void const* |
| %rdi | key | void const* |
| %rsi | base | void const* |
| %rdx | num | int |
| %rcx | size | int |
| %r8 | cmp | int(*)(void const*, void const*) |