ABI | Symbols | Types | Live Readelf |
| Contents |
| Info |
| Calling sequence |
| Stack frame layout |
| Registers usage |
| Signature |
PEM_ASN1_write (
i2d_of_void* i2d,
char const* name,
FILE* fp,
void* x,
EVP_CIPHER const* enc,
unsigned char* kstr,
int klen,
pem_password_cb* callback,
void* u
) |
|---|---|
| Type | FUNC |
| Bind | GLOBAL |
| Params | 9 |
| Return | int |
| Source | pem_lib.c |
| Size | 189 |
| PADDING | PARAM |
| LOCAL | RETURN |
| Pos | Name | Type | Size | Passed |
|---|---|---|---|---|
| INPUT(S) | ||||
| 0 | i2d | i2d_of_void* | 8 | %rdi |
| 1 | name | char const* | 8 | %rsi |
| 2 | fp | FILE* | 8 | %rdx |
| 3 | x | void* | 8 | %rcx |
| 4 | enc | EVP_CIPHER const* | 8 | %r8 |
| 5 | kstr | unsigned char* | 8 | %r9 |
| 6 | klen | int | 4 | stack + 0 |
| 7 | callback | pem_password_cb* | 8 | stack + 8 |
| 8 | u | void* | 8 | stack + 16 |
| RETURN | ||||
| .retval | int | 4 | %rax | |
| Offset | Contents | Type |
|---|---|---|
| local space, return address, etc. | ||
| 0 | klen | int |
| 4 | padding | |
| 8 | callback | pem_password_cb* |
| 16 | u | void* |
| Name | Contents | Type |
|---|---|---|
| %rax | .retval | int |
| %rdi | i2d | i2d_of_void* |
| %rsi | name | char const* |
| %rdx | fp | FILE* |
| %rcx | x | void* |
| %r8 | enc | EVP_CIPHER const* |
| %r9 | kstr | unsigned char* |