diff --git a/README.md b/README.md index 3a581917..b2e62f53 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,19 @@ Best supported on Ubuntu 14.04 with default `gdb` or `gdb-multiarch` (e.g. with ### Prerequisites -As of recent versions, you need Capstone 4.0. +#### Capstone 4.0 + +Currently this is only available via a source build. 1. Clone the repo: `git clone https://github.com/aquynh/capstone` 2. Select the `next` branch: `git checkout -t origin/next` 3. Build and install libcapstone: `sudo make.sh install` 4. Build and install Python bindings: `cd bindings/python && python setup.py install` +#### pycparser + +`pip install pycparser` + ## Features Does most things that PEDA does. Doesn't do things that PEDA does that [pwntools](https://github.com/Gallopsled/pwntools) or [binjitsu](https://binjit.su) (my fork of pwntools) do better. diff --git a/ida_script.py b/ida_script.py index 94c25d42..b8f8ac10 100644 --- a/ida_script.py +++ b/ida_script.py @@ -35,7 +35,12 @@ def wrap(f): try: rv = [] def work(): rv.append(f(*a,**kw)) - with mutex: idaapi.execute_sync(work, idaapi.MFF_WRITE) + with mutex: + flags = idaapi.MFF_WRITE + if f == idc.SetColor: + flags |= idaapi.MFF_NOWAIT + rv.append(None) + idaapi.execute_sync(work, flags) return rv[0] except: import traceback diff --git a/pwndbg/__init__.py b/pwndbg/__init__.py index 9865e207..0fdd26fc 100644 --- a/pwndbg/__init__.py +++ b/pwndbg/__init__.py @@ -102,6 +102,7 @@ print(pwndbg.color.red(msg)) @pwndbg.memoize.reset_on_stop def prompt_hook(*a): - pwndbg.commands.context.context() + with pwndbg.stdio.stdio: + pwndbg.commands.context.context() gdb.prompt_hook = prompt_hook diff --git a/pwndbg/arguments.py b/pwndbg/arguments.py index 7735f1ec..9c9ee86f 100644 --- a/pwndbg/arguments.py +++ b/pwndbg/arguments.py @@ -7,36 +7,124 @@ may be passed in a combination of registers and stack values. import gdb import pwndbg.arch import pwndbg.disasm +import pwndbg.functions +import pwndbg.funcparser +import pwndbg.ida import pwndbg.memory import pwndbg.regs -import pwndbg.typeinfo -import pwndbg.functions import pwndbg.symbol +import pwndbg.typeinfo -def arguments(): +from capstone import CS_GRP_CALL + +ida_replacements = { + '__int64': 'signed long long int', + '__int32': 'signed int', + '__int16': 'signed short', + '__int8': 'signed char', + '__uint64': 'unsigned long long int', + '__uint32': 'unsigned int', + '__uint16': 'unsigned short', + '__uint8': 'unsigned char', + '_BOOL_1': 'unsigned char', + '_BOOL_2': 'unsigned short', + '_BOOL_4': 'unsigned int', + '_BYTE': 'unsigned char', + '_WORD': 'unsigned short', + '_DWORD': 'unsigned int', + '_QWORD': 'unsigned long long', + '__pure': '', + '__hidden': '', + '__return_ptr': '', + '__struct_ptr': '', + '__array_ptr': '', + '__fastcall': '', + '__cdecl': '', + '__thiscall': '', + '__userpurge': '', +} + + +def arguments(instruction): """ Returns an array containing the arguments to the current function, if $pc is a 'call' or 'bl' type instruction. Otherwise, returns None. """ - pwndbg.disasm.calls + if instruction.address != pwndbg.regs.pc: + return [] + + if not instruction.target: + return [] + + if CS_GRP_CALL not in instruction.groups: + return [] + + sym = pwndbg.symbol.get(instruction.target) + if not sym: + return [] + + sym = sym.strip().lstrip('_') # _malloc + sym = sym.replace('isoc99_', '') # __isoc99_sscanf + sym = sym.replace('@plt', '') # getpwiod@plt + sym = sym.replace('_chk', '') # __printf_chk + func = pwndbg.functions.functions.get(sym, None) + + result = [] + args = [] + + # Try to grab the data out of IDA + if not func and instruction.target: + typename = pwndbg.ida.GetType(instruction.target) + + if typename: + typename += ';' + + # GetType() does not include the name. + typename = typename.replace('(', ' function_name(', 1) + + for k,v in ida_replacements.items(): + typename = typename.replace(k,v) + + func = pwndbg.funcparser.ExtractFuncDeclFromSource(typename + ';') + + if func: + args = func.args + else: + args = [pwndbg.functions.Argument('int',0,argname(i)) for i in range(4)] + + print(repr(args)) + + for i,arg in enumerate(args): + result.append((arg, argument(i))) + + return result + + +REGS = { + 'x86-64': ['rdi','rsi','rdx','rcx','r8','r9'], + 'arm': ['r%i' % i for i in range(0, 4)], + 'aarch64': ['x%i' % i for i in range(0, 4)], + 'powerpc': ['r%i' % i for i in range(3, 10+1)], + 'mips': ['r%i' % i for i in range(4, 7+1)], + 'sparc': ['i%i' % i for i in range(0,8)], +} + +def argname(n): + regs = REGS[pwndbg.arch.current] + + if n < len(regs): + return regs[n] + + return 'arg[%i]' % n def argument(n): """ Returns the nth argument, as if $pc were a 'call' or 'bl' type instruction. """ - arch = pwndbg.arch.current - - regs = { - 'x86-64': ['rdi','rsi','rdx','rcx','r8','r9'], - 'arm': ['r%i' % i for i in range(0, 4)], - 'aarch64': ['x%i' % i for i in range(0, 4)], - 'powerpc': ['r%i' % i for i in range(3, 10+1)], - 'mips': ['r%i' % i for i in range(4, 7+1)], - 'sparc': ['i%i' % i for i in range(0,8)], - }[arch] + regs = REGS[pwndbg.arch.current] if n < len(regs): return getattr(pwndbg.regs, regs[n]) diff --git a/pwndbg/chain.py b/pwndbg/chain.py index 9806f63b..909a4f2b 100644 --- a/pwndbg/chain.py +++ b/pwndbg/chain.py @@ -8,7 +8,7 @@ import pwndbg.vmmap LIMIT = 5 -def get(address, limit=5): +def get(address, limit=LIMIT): """ Recursively dereferences an address. @@ -30,32 +30,32 @@ def get(address, limit=5): return result -def format(value): - chain = get(value, LIMIT) +def format(value, limit=LIMIT, code=True): + chain = get(value, limit) - # Enhance the last entry - # If there are no pointers (e.g. eax = 0x41414141), then enhance - # the only element there is. - if len(chain) == 1: - enhanced = pwndbg.enhance.enhance(chain[-1]) + # Enhance the last entry + # If there are no pointers (e.g. eax = 0x41414141), then enhance + # the only element there is. + if len(chain) == 1: + enhanced = pwndbg.enhance.enhance(chain[-1], code=code) - # Otherwise, the last element in the chain is the non-pointer value. - # We want to enhance the last pointer value. - elif len(chain) < LIMIT: - enhanced = pwndbg.enhance.enhance(chain[-2]) + # Otherwise, the last element in the chain is the non-pointer value. + # We want to enhance the last pointer value. + elif len(chain) < limit: + enhanced = pwndbg.enhance.enhance(chain[-2], code=code) - else: - enhanced = '...' + else: + enhanced = '...' - # Colorize the rest - rest = [] - for link in chain[:-1]: - symbol = pwndbg.symbol.get(link) or None - if symbol: - symbol = '%#x (%s)' % (link, symbol) - rest.append(pwndbg.color.get(link, symbol)) + # Colorize the rest + rest = [] + for link in chain[:-1]: + symbol = pwndbg.symbol.get(link) or None + if symbol: + symbol = '%#x (%s)' % (link, symbol) + rest.append(pwndbg.color.get(link, symbol)) - if len(chain) == 1: - return enhanced + if len(chain) == 1: + return enhanced - return ' --> '.join(rest) + ' <-- ' + enhanced + return ' --> '.join(rest) + ' <-- ' + enhanced diff --git a/pwndbg/color.py b/pwndbg/color.py index 9abee74d..5b7de3cb 100644 --- a/pwndbg/color.py +++ b/pwndbg/color.py @@ -1,4 +1,5 @@ import gdb +import pwndbg.enhance import pwndbg.vmmap NORMAL = "\x1b[0m" @@ -65,3 +66,4 @@ def legend(): UNDERLINE + 'RWX' + NORMAL, 'RODATA' )) + diff --git a/pwndbg/commands/__init__.py b/pwndbg/commands/__init__.py index ffe2bf69..231eab7b 100644 --- a/pwndbg/commands/__init__.py +++ b/pwndbg/commands/__init__.py @@ -1,13 +1,16 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- import functools import traceback import gdb -import pwndbg.regs -import pwndbg.memory -import pwndbg.hexdump -import pwndbg.color import pwndbg.chain +import pwndbg.color import pwndbg.enhance +import pwndbg.hexdump +import pwndbg.memory +import pwndbg.regs +import pwndbg.stdio import pwndbg.symbol import pwndbg.ui @@ -41,7 +44,8 @@ class _Command(gdb.Command): raise def __call__(self, *args, **kwargs): - return self.function(*args, **kwargs) + with pwndbg.stdio.stdio: + return self.function(*args, **kwargs) class _ParsedCommand(_Command): diff --git a/pwndbg/commands/context.py b/pwndbg/commands/context.py index 5a3f5332..6bf766d3 100644 --- a/pwndbg/commands/context.py +++ b/pwndbg/commands/context.py @@ -1,4 +1,7 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- import gdb +import pwndbg.arguments import pwndbg.chain import pwndbg.color import pwndbg.commands @@ -12,15 +15,15 @@ import pwndbg.symbol import pwndbg.ui import pwndbg.vmmap -@pwndbg.events.stop -@pwndbg.commands.ParsedCommand +# @pwndbg.events.stop +@pwndbg.commands.Command @pwndbg.commands.OnlyWhenRunning def context(*args): """ Print out the current register, instruction, and stack context. """ if len(args) == 0: - args = ['reg','code','stack','backtrace'] + args = ['reg','code','stack','backtrace','args'] args = [a[0] for a in args] @@ -29,11 +32,13 @@ def context(*args): result.append(pwndbg.color.legend()) if 'r' in args: result.extend(context_regs()) if 'c' in args: result.extend(context_code()) + if 'a' in args: result.extend(context_args()) if 's' in args: result.extend(context_stack()) if 'b' in args: result.extend(context_backtrace()) result.extend(context_signal()) - print('\n'.join(map(str, result))) + for line in result: + print(line.encode('utf-8')) def context_regs(): result = [] @@ -140,6 +145,23 @@ def context_backtrace(frame_count=10, with_banner=True): i += 1 return result +def context_args(): + result = [] + + ################################################## + # DISABLED FOR NOW, I LIKE INLINE DISPLAY BETTER + ################################################## + # # For call instructions, attempt to resolve the target and + # # determine the number of arguments. + # for arg, value in pwndbg.arguments.arguments(pwndbg.disasm.one()): + # code = False if arg.type == 'char' else True + # pretty = pwndbg.chain.format(value, code=code) + # result.append('%-10s %s' % (arg.name+':', pretty)) + # if not result: + # return [] + # result.insert(0, pwndbg.color.blue(pwndbg.ui.banner("arguments"))) + return result + last_signal = [] def save_signal(signal): diff --git a/pwndbg/commands/hexdump.py b/pwndbg/commands/hexdump.py index d4abc14e..f4a7d16e 100644 --- a/pwndbg/commands/hexdump.py +++ b/pwndbg/commands/hexdump.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- import pwndbg.commands import pwndbg.hexdump import pwndbg.memory @@ -26,7 +28,7 @@ def hexdump(address=None, count=64): # if address is None: # address = - data = pwndbg.memory.read(address, count) + data = pwndbg.memory.read(address, count, partial=True) for line in pwndbg.hexdump.hexdump(data, address=address): print(line) diff --git a/pwndbg/commands/nearpc.py b/pwndbg/commands/nearpc.py index af311d5f..66700db5 100644 --- a/pwndbg/commands/nearpc.py +++ b/pwndbg/commands/nearpc.py @@ -1,7 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +from capstone import * + +import pwndbg.arguments import pwndbg.color import pwndbg.disasm +import pwndbg.disasm.color +import pwndbg.functions import pwndbg.ida import pwndbg.regs +import pwndbg.strings import pwndbg.symbol import pwndbg.ui import pwndbg.vmmap @@ -54,17 +62,38 @@ def nearpc(pc=None, lines=None, to_string=False): symbols[i] = s.ljust(longest_sym) # Print out each instruction + prev = None for i,s in zip(instructions, symbols): - asm = pwndbg.disasm.color(i) + asm = pwndbg.disasm.color.instruction(i) prefix = ' =>' if i.address == pc else ' ' pre = pwndbg.ida.Anterior(i.address) if pre: result.append(pwndbg.color.bold(pre)) - line = ' '.join((prefix, s or hex(i.address), asm)) + line = ' '.join((prefix, "%#x" % i.address, s or '', asm)) + + old, prev = prev, i + + # Put an ellipsis between discontiguous code groups + if not old: + pass + elif old.address + old.size != i.address: + result.append('...') + # Put an empty line after fall-through basic blocks + elif any(g in old.groups for g in (CS_GRP_CALL, CS_GRP_JUMP, CS_GRP_RET)): + result.append('') + result.append(line) + # For call instructions, attempt to resolve the target and + # determine the number of arguments. + for arg, value in pwndbg.arguments.arguments(i): + code = False if arg.type == 'char' else True + pretty = pwndbg.chain.format(value, code=code) + result.append('%8s%-10s %s' % ('',arg.name+':', pretty)) + + if not to_string: print('\n'.join(result)) diff --git a/pwndbg/commands/windbg.py b/pwndbg/commands/windbg.py index 931300a4..76f4cf0e 100644 --- a/pwndbg/commands/windbg.py +++ b/pwndbg/commands/windbg.py @@ -82,6 +82,9 @@ def dX(size, address, count, to_string=False): lines = [] for i, row in enumerate(rows): + if not row: + continue + line = [enhex(pwndbg.arch.ptrsize, address + i+16)] for value in row: line.append(enhex(size, value)) diff --git a/pwndbg/compat.py b/pwndbg/compat.py index 947e1b5e..f974c37b 100644 --- a/pwndbg/compat.py +++ b/pwndbg/compat.py @@ -10,3 +10,6 @@ import sys # Quickly determine which version is running python2 = sys.version_info.major == 2 python3 = sys.version_info.major == 3 + +if python3: + globals()['basestring'] = str \ No newline at end of file diff --git a/pwndbg/disasm.py b/pwndbg/disasm.py deleted file mode 100644 index 7b39be22..00000000 --- a/pwndbg/disasm.py +++ /dev/null @@ -1,172 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -""" -Functionality for disassmebling code at an address, or at an -address +/- a few instructions. -""" -import collections - -import gdb -import pwndbg.arch -import pwndbg.color -import pwndbg.disasm_powerpc -import pwndbg.ida -import pwndbg.memory -import pwndbg.symbol -import pwndbg.memoize -import pwndbg.jump - -from capstone import * - -Instruction = collections.namedtuple('Instruction', ['address', 'length', 'asm', 'target']) - -disassembler = None -last_arch = None - -CapstoneArch = { - 'arm': Cs(CS_ARCH_ARM, CS_MODE_ARM), - 'aarch64': Cs(CS_ARCH_ARM64, CS_MODE_ARM), - 'i386': Cs(CS_ARCH_X86, CS_MODE_32), - 'x86-64': Cs(CS_ARCH_X86, CS_MODE_64), - 'powerpc': Cs(CS_ARCH_PPC, CS_MODE_32), - 'mips': Cs(CS_ARCH_MIPS, CS_MODE_32), - 'sparc': Cs(CS_ARCH_SPARC, 0), -} - -InstructionMaxSize = { - 'arm': 4, - 'aarch64': 4, - 'i386': 16, - 'x86-64': 16 -} - -def get_disassembler(pc): - arch = pwndbg.arch.current - d = CapstoneArch[arch] - if arch in ('i386', 'x86-64', 'powerpc', 'mips'): - d.mode = {4:CS_MODE_32, 8:CS_MODE_64}[pwndbg.arch.ptrsize] - if arch in ('arm', 'aarch64'): - d.mode = {0:CS_MODE_ARM,1:CS_MODE_THUMB}[pc & 1] - return d - -def get_one_instruction(pc): - pass - -def get(address, instructions=1): - address = int(address) - - # Dont disassemble if there's no memory - if not pwndbg.memory.peek(address): - return [] - - raw = pwndbg.arch.disasm(address, address+0xffffffff, instructions) - - retval = [] - for insn in raw: - addr = int(insn['addr']) - length = insn['length'] - asm = insn['asm'] - target = 0 - split = asm.split() - - if len(split) == 2: - try: - target = split[1] - name = pwndbg.symbol.get(int(target, 0)) - if name: - asm = asm + ' <%s>' % name - except ValueError: - pass - - retval.append(Instruction(addr,length,asm,target)) - return retval - -def near(address, instructions=1): - # If we have IDA, we can just use it to find out where the various - # isntructions are. - if pwndbg.ida.available(): - head = address - for i in range(instructions): - head = pwndbg.ida.PrevHead(head) - - retval = [] - for i in range(2*instructions + 1): - retval.append(get(head)) - head = pwndbg.ida.NextHead(head) - - - # Find out how far back we can go without having a page fault - distance = instructions * 8 - for start in range(address-distance, address): - if pwndbg.memory.peek(start): - break - - # Disassemble more than we expect to need, move forward until we have - # enough instructions and we start on the correct spot - insns = [] - while start < address: - insns = get(start, instructions) - if not insns: - return [] - - last = insns[-1] - - if last.address + last.length == address: - break - - start += 1 - - return insns[-instructions:] + get(address, instructions + 1) - - -calls = set([ -'call', 'callq', -'bl','blx', -'jal' -]) - -returns = set([ -'ret','retn','return', -'jr' -]) - -branches = calls | returns | set([ -# Unconditional x86 branches -'call', 'callq', -'jmp', -# Conditional x86 branches -'ja', 'jna', -'jae', 'jnae', -'jb', 'jnb', -'jbe', 'jnbe', -'jc', 'jnc', -'je', 'jne', -'jg', 'jng', -'jge', 'jnge', -'jl', 'jnl', -'jle', 'jnle', -'jo', 'jno', -'jp', 'jnp', -'jpe', 'jpo', -'js', 'jns', -'jz', 'jnz', -# ARM branches -'b', 'bl', 'bx', 'blx', 'bxj', 'b.w', -'beq', 'beq.w', 'bne', 'bmi', 'bpl', 'blt', -'ble', 'bgt', 'bge', 'bxne', -# MIPS branches -'j', 'jal', -# SPARC -'ba', 'bne', 'be', 'bg', 'ble', 'bge', 'bl', 'bgu', 'bleu', -'jmpl' -]) - -branches = branches | pwndbg.disasm_powerpc.branches - -def color(ins): - asm = ins.asm - mnem = asm.split()[0].strip().rstrip('+-') - if mnem in branches: - asm = pwndbg.color.bold(asm) - asm += '\n' - return asm diff --git a/pwndbg/disasm/__init__.py b/pwndbg/disasm/__init__.py new file mode 100644 index 00000000..f6b6749c --- /dev/null +++ b/pwndbg/disasm/__init__.py @@ -0,0 +1,175 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" +Functionality for disassmebling code at an address, or at an +address +/- a few instructions. +""" +import collections + +import gdb +import pwndbg.arch +import pwndbg.disasm.mips +import pwndbg.disasm.arm +import pwndbg.disasm.ppc +import pwndbg.disasm.x86 +import pwndbg.disasm.jump +import pwndbg.disasm.sparc +import pwndbg.ida +import pwndbg.memory +import pwndbg.symbol +import pwndbg.memoize +import pwndbg.jump + +import capstone +from capstone import * + + +Instruction = collections.namedtuple('Instruction', ['address', 'length', 'asm', 'target']) + +disassembler = None +last_arch = None + + +CapstoneArch = { + 'arm': Cs(CS_ARCH_ARM, CS_MODE_ARM), + 'aarch64': Cs(CS_ARCH_ARM64, CS_MODE_ARM), + 'i386': Cs(CS_ARCH_X86, CS_MODE_32), + 'x86-64': Cs(CS_ARCH_X86, CS_MODE_64), + 'powerpc': Cs(CS_ARCH_PPC, CS_MODE_32), + 'mips': Cs(CS_ARCH_MIPS, CS_MODE_32), + 'sparc': Cs(CS_ARCH_SPARC, 0), +} + +for cs in CapstoneArch.values(): + cs.detail = True + +# For variable-instruction-width architectures +# (x86 and amd64), we keep a cache of instruction +# sizes, and where the end of the instruction falls. +# +# This allows us to consistently disassemble backward. +VariableInstructionSizeMax = { + 'i386': 16, + 'x86-64': 16, +} + +backward_cache = {} + + +def get_target(instruction): + """ + Make a best effort to determine what value or memory address + is important in a given instruction. For example: + + - Any single-operand instruction ==> that value + - push rax ==> evaluate rax + - Jump or call ==> target address + - jmp rax ==> evaluate rax + - jmp 0xdeadbeef ==> deadbeef + - Memory load or store ==> target address + - mov [eax], ebx ==> evaluate eax + - Register move ==> source value + - mov eax, ebx ==> evaluate ebx + - Register manipulation ==> value after execution* + - lea eax, [ebx*4] ==> evaluate ebx*4 + + Register arguments are only evaluated for the next instruction. + + Returns: + A tuple containing the resolved value (or None) and + a boolean indicating whether the value is a constant. + """ + return { + 'i386': pwndbg.disasm.x86.resolve, + 'x86-64': pwndbg.disasm.x86.resolve + }.get(pwndbg.arch.current, lambda *a: None)(instruction) + + +def get_disassembler(pc): + arch = pwndbg.arch.current + d = CapstoneArch[arch] + if arch in ('arm', 'aarch64'): + d.mode = {0:CS_MODE_ARM,1:CS_MODE_THUMB}[pc & 1] + else: + d.mode = {4:CS_MODE_32, 8:CS_MODE_64}[pwndbg.arch.ptrsize] + return d + +def get_one_instruction(address): + md = get_disassembler(address) + size = VariableInstructionSizeMax.get(pwndbg.arch.current, 4) + data = pwndbg.memory.read(address, size, partial=True) + for ins in md.disasm(bytes(data), address, 1): + ins.target, ins.target_constant = get_target(ins) + return ins + +def one(address=None): + if address is None: + address = pwndbg.regs.pc + for insn in get(address, 1): + return insn + +def fix(i): + for op in i.operands: + if op.type == CS_OP_IMM and op.va: + i.op_str = i.op_str.replace() + + return i + +def get(address, instructions=1): + address = int(address) + + # Dont disassemble if there's no memory + if not pwndbg.memory.peek(address): + return [] + + retval = [] + for _ in range(instructions): + i = get_one_instruction(address) + if i is None: + break + backward_cache[address+i.size] = address + address += i.size + retval.append(i) + + return retval + +def near(address, instructions=1): + # # If we have IDA, we can just use it to find out where the various + # # isntructions are. + # if pwndbg.ida.available(): + # head = address + # for i in range(instructions): + # head = pwndbg.ida.PrevHead(head) + + # retval = [] + # for i in range(2*instructions + 1): + # retval.append(get(head)) + # head = pwndbg.ida.NextHead(head) + + # See if we can satisfy the request based on the instruction + # length cache. + needle = address + insns = [] + while len(insns) < instructions and needle in backward_cache: + needle = backward_cache[needle] + insn = one(needle) + if not insn: + return insns + insns.insert(0, insn) + + current = one(address) + + if not current: + return insns + + target = current.target + + if not pwndbg.disasm.jump.is_jump_taken(current): + target = current.address + current.size + + backward_cache[target] = address + + insns.append(current) + insns.extend(get(target, instructions)) + + return insns diff --git a/pwndbg/jump/arm.py b/pwndbg/disasm/arm.py similarity index 100% rename from pwndbg/jump/arm.py rename to pwndbg/disasm/arm.py diff --git a/pwndbg/disasm/color.py b/pwndbg/disasm/color.py new file mode 100644 index 00000000..65bf6719 --- /dev/null +++ b/pwndbg/disasm/color.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +import capstone +import pwndbg.chain +import pwndbg.color +import pwndbg.disasm.jump + +capstone_branch_groups = [ +capstone.arm.ARM_GRP_CALL, +capstone.arm.ARM_GRP_JUMP, +capstone.arm64.ARM64_GRP_JUMP, +capstone.mips.MIPS_GRP_JUMP, +capstone.ppc.PPC_GRP_JUMP, +capstone.sparc.SPARC_GRP_JUMP, +capstone.x86.X86_GRP_CALL, +capstone.x86.X86_GRP_JUMP, +] + +def instruction(ins): + asm = u'%-06s %s' % (ins.mnemonic, ins.op_str) + + branch = any(g in capstone_branch_groups for g in ins.groups) + taken = pwndbg.disasm.jump.is_jump_taken(ins) + + if branch: + asm = pwndbg.color.bold(asm) + + if ins.target is not None: + sym = pwndbg.symbol.get(ins.target) + target = pwndbg.color.get(ins.target) + const = ins.target_constant + + # If it's a constant expression, color it directly in the asm. + if const: + asm = asm.replace(hex(ins.target), target) + + if sym: + asm = '%-36s <%s>' % (asm, sym) + elif sym: + asm = '%-36s <%s; %s>' % (asm, target, sym) + else: + asm = '%-36s <%s>' % (asm, target) + + if taken: + asm = pwndbg.color.green(u'✔ ') + asm + else: + asm = ' ' + asm + + return asm diff --git a/pwndbg/disasm/jump.py b/pwndbg/disasm/jump.py new file mode 100644 index 00000000..c8df2ffa --- /dev/null +++ b/pwndbg/disasm/jump.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +import pwndbg.arch +import pwndbg.disasm.x86 + +from capstone import CS_GRP_JUMP + +def is_jump_taken(instruction): + """ + Attempt to determine if a conditional instruction is executed. + Only valid for the current instruction. + + Returns: + Returns True IFF the current instruction is a conditional + *or* jump instruction, and it is taken. + + Returns False in all other cases. + """ + if CS_GRP_JUMP not in instruction.groups: + return False + if pwndbg.regs.pc != instruction.address: + return False + + return { + 'i386': pwndbg.disasm.x86.is_jump_taken, + 'x86-64': pwndbg.disasm.x86.is_jump_taken, + }.get(pwndbg.arch.current, lambda *a: False)(instruction) \ No newline at end of file diff --git a/pwndbg/jump/mips.py b/pwndbg/disasm/mips.py similarity index 100% rename from pwndbg/jump/mips.py rename to pwndbg/disasm/mips.py diff --git a/pwndbg/jump/ppc.py b/pwndbg/disasm/ppc.py similarity index 100% rename from pwndbg/jump/ppc.py rename to pwndbg/disasm/ppc.py diff --git a/pwndbg/jump/sparc.py b/pwndbg/disasm/sparc.py similarity index 100% rename from pwndbg/jump/sparc.py rename to pwndbg/disasm/sparc.py diff --git a/pwndbg/disasm/x86.py b/pwndbg/disasm/x86.py new file mode 100644 index 00000000..03df7494 --- /dev/null +++ b/pwndbg/disasm/x86.py @@ -0,0 +1,142 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +import pwndbg.arch +import pwndbg.memory +import pwndbg.regs + +from capstone import * +from capstone.x86 import * + +groups = {v:k for k,v in globals().items() if k.startswith('X86_GRP_')} +ops = {v:k for k,v in globals().items() if k.startswith('X86_OP_')} +regs = {v:k for k,v in globals().items() if k.startswith('X86_REG_')} +access = {v:k for k,v in globals().items() if k.startswith('CS_AC_')} + +def is_memory_op(op): + return op.type == X86_OP_MEM + +def get_access(ac): + rv = [] + for k,v in access.items(): + if ac & k: rv.append(v) + return ' | '.join(rv) + +def dump(instruction): + ins = instruction + rv = [] + rv.append('%s %s' % (ins.mnemonic,ins.op_str)) + for i, group in enumerate(ins.groups): + rv.append(' groups[%i] = %s' % (i, groups[group])) + for i, op in enumerate(ins.operands): + rv.append(' operands[%i] = %s' % (i, ops[op.type])) + rv.append(' access = %s' % (get_access(op.access))) + return '\n'.join(rv) + +def resolve(instruction): + ops = list(instruction.operands) + + if instruction.mnemonic == 'nop' or not ops: + return (None,None) + + # 'ret', 'syscall' + if not ops: + return + + # 'jmp rax', 'call 0xdeadbeef' + if len(ops) == 1: + return get_operand_target(instruction, ops[0]) + + # 'mov eax, ebx' ==> ebx + # 'mov [eax], ebx' ==> [eax] + # 'mov eax, 0xdeadbeef' ==> 0xdeadbeef + if len(ops) == 2: + # If there are any memory operands, prefer those + for op in filter(is_memory_op, ops): + return get_operand_target(instruction, op) + + # Otherwise, prefer the 'source' operand + return get_operand_target(instruction, ops[1]) + + + print("Weird number of operands!!!!!") + print(dump(instruction)) + +def get_operand_target(instruction, op): + current = (instruction.address == pwndbg.regs.pc) + + # EB/E8/E9 or similar "call $+offset" + # Capstone handles the instruction + instruction size. + if op.type == X86_OP_IMM: + return (op.value.imm, True) + + # jmp/call REG + if op.type == X86_OP_REG: + if not current: + return (None, False) + + regname = instruction.reg_name(op.value.reg) + return (pwndbg.regs[regname], False) + + # base + disp + scale * offset + assert op.type == X86_OP_MEM, "Invalid operand type %i (%s)" % (op.type, ops[op.type]) + + target = 0 + + # Don't resolve registers + constant = bool(op.mem.base == 0 and op.mem.index == 0) + if not current and not constant: + return (None, False) + + if op.mem.segment != 0: + return (None, False) + + if op.mem.base != 0: + regname = instruction.reg_name(op.mem.base) + target += pwndbg.regs[regname] + + if op.mem.disp != 0: + target += op.value.mem.disp + + if op.mem.index != 0: + scale = op.mem.scale + index = pwndbg.regs[instruction.reg_name(op.mem.index)] + target += (scale * index) + + # for source operands, resolve + if op.access == CS_AC_READ: + try: + target = pwndbg.memory.u(target, op.size * 8) + except: + return (None, False) + + return (target, constant) + + +def is_jump_taken(instruction): + efl = pwndbg.regs.eflags + + cf = efl & (1<<0) + pf = efl & (1<<2) + af = efl & (1<<4) + zf = efl & (1<<6) + sf = efl & (1<<7) + of = efl & (1<<11) + + return { + X86_INS_JO: of, + X86_INS_JNO: not of, + X86_INS_JS: sf, + X86_INS_JNS: not sf, + X86_INS_JE: zf, + X86_INS_JNE: not zf, + X86_INS_JB: cf, + X86_INS_JAE: not cf, + X86_INS_JBE: cf or zf, + X86_INS_JA: not (cf or zf), + X86_INS_JL: sf != of, + X86_INS_JGE: sf == of, + X86_INS_JLE: zf or (sf != of), + X86_INS_JP: pf, + X86_INS_JNP: not pf, + X86_INS_JMP: True, + }.get(instruction.id, None) diff --git a/pwndbg/enhance.py b/pwndbg/enhance.py index 7102b85d..c3a65837 100644 --- a/pwndbg/enhance.py +++ b/pwndbg/enhance.py @@ -12,7 +12,6 @@ import string import gdb import pwndbg.arch -import pwndbg.color import pwndbg.disasm import pwndbg.memoize import pwndbg.memory @@ -33,7 +32,7 @@ def good_instr(i): return not any(bad in i for bad in bad_instrs) # @pwndbg.memoize.reset_on_stop -def enhance(value): +def enhance(value, code = True): """ Given the last pointer in a chain, attempt to characterize @@ -43,6 +42,10 @@ def enhance(value): 'value'. For example, if it is set to RWX, we try to get information on whether it resides on the stack, or in a RW section that *happens* to be RWX, to determine which order to print the fields. + + Arguments: + value(obj): Value to enhance + code(bool): Hint that indicates the value may be an instruction """ value = int(value) @@ -56,7 +59,7 @@ def enhance(value): can_read = False if not can_read: - retval = hex(int(value)) + retval = '%#x' % int(value) # Try to unpack the value as a string packed = pwndbg.arch.pack(int(value)) @@ -82,11 +85,9 @@ def enhance(value): rwx = exe = False if exe: - instr = pwndbg.disasm.get(value, 1)[0].asm - - # However, if it contains bad instructions, bail - if not good_instr(instr): - instr = None + instr = pwndbg.disasm.one(value) + if instr: + instr = "%-6s %s" % (instr.mnemonic, instr.op_str) szval = pwndbg.strings.get(value) or None szval0 = szval @@ -98,11 +99,13 @@ def enhance(value): if 0 <= intval < 10: intval = str(intval) else: - intval = hex(int(intval & pwndbg.arch.ptrmask)) + intval = '%#x' % int(intval & pwndbg.arch.ptrmask) retval = [] # print([instr,intval0,szval]) + if not code: + instr = None # If it's on the stack, don't display it as code in a chain. if instr and 'stack' in page.objfile: diff --git a/pwndbg/funcparser.py b/pwndbg/funcparser.py new file mode 100644 index 00000000..b5e44b28 --- /dev/null +++ b/pwndbg/funcparser.py @@ -0,0 +1,84 @@ +import collections +from pycparser import c_ast, CParser + +def extractTypeAndName(n, defaultName=None): + if isinstance(n, c_ast.EllipsisParam): + return ('int', 0, 'vararg') + + t = n.type + d = 0 + + while isinstance(t, c_ast.PtrDecl) or isinstance(t, c_ast.ArrayDecl): + d += 1 + children = dict(t.children()) + t = children['type'] + + if isinstance(t, c_ast.FuncDecl): + return extractTypeAndName(t) + + if isinstance(t.type, c_ast.Struct) \ + or isinstance(t.type, c_ast.Union) \ + or isinstance(t.type, c_ast.Enum): + typename = t.type.name + else: + typename = t.type.names[0] + + if typename == 'void' and d == 0 and not t.declname: + return None + + name = t.declname or defaultName or '' + return typename.lstrip('_'),d,name.lstrip('_') + +Function = collections.namedtuple('Function', ('type', 'derefcnt', 'name', 'args')) +Argument = collections.namedtuple('Argument', ('type', 'derefcnt', 'name')) + +def Stringify(X): + return '%s %s %s' % (X.type, X.derefcnt * '*', X.name) + +def ExtractFuncDecl(node, verbose=False): + # The function name needs to be dereferenced. + ftype, fderef, fname = extractTypeAndName(node) + + if not fname: + print "Skipping function without a name!" + print node.show() + return + + fargs = [] + for i, (argName, arg) in enumerate(node.args.children()): + defname = 'arg%i' % i + argdata = extractTypeAndName(arg, defname) + if argdata is not None: + a = Argument(*argdata) + fargs.append(a) + + Func = Function(ftype, fderef, fname, fargs) + + if verbose: + print Stringify(Func) + '(' + ','.join(Stringify(a) for a in Func.args) + ');' + + return Func + +def ExtractAllFuncDecls(ast, verbose=False): + Functions = {} + + class FuncDefVisitor(c_ast.NodeVisitor): + def visit_FuncDecl(self, node, *a): + f = ExtractFuncDecl(node, verbose) + Functions[f.name] = f + + FuncDefVisitor().visit(ast) + + return Functions + +def ExtractFuncDeclFromSource(source): + try: + p = CParser() + ast = p.parse(source + ';') + funcs = ExtractAllFuncDecls(ast) + for name, func in funcs.items(): + return func + except Exception as e: + import traceback + traceback.print_exc() + # eat it \ No newline at end of file diff --git a/pwndbg/functions.py b/pwndbg/functions.py index bf3166cb..93ab44ba 100644 --- a/pwndbg/functions.py +++ b/pwndbg/functions.py @@ -6,45 +6,45 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ASN1_BIT_STRING_free': Function(type='void', derefcnt=0, name='ASN1_BIT_STRING_free', args=[Argument(type='ASN1_BIT_STRING', derefcnt=1, name='a')]), 'ASN1_BIT_STRING_get_bit': Function(type='int', derefcnt=0, name='ASN1_BIT_STRING_get_bit', args=[Argument(type='ASN1_BIT_STRING', derefcnt=1, name='a'), Argument(type='int', derefcnt=0, name='n')]), 'ASN1_BIT_STRING_name_print': Function(type='int', derefcnt=0, name='ASN1_BIT_STRING_name_print', args=[Argument(type='BIO', derefcnt=1, name='out'), Argument(type='ASN1_BIT_STRING', derefcnt=1, name='bs'), Argument(type='BIT_STRING_BITNAME', derefcnt=1, name='tbl'), Argument(type='int', derefcnt=0, name='indent')]), - 'ASN1_BIT_STRING_new': Function(type='ASN1_BIT_STRING', derefcnt=1, name='ASN1_BIT_STRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_BIT_STRING_new': Function(type='ASN1_BIT_STRING', derefcnt=1, name='ASN1_BIT_STRING_new', args=[]), 'ASN1_BIT_STRING_num_asc': Function(type='int', derefcnt=0, name='ASN1_BIT_STRING_num_asc', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='BIT_STRING_BITNAME', derefcnt=1, name='tbl')]), 'ASN1_BIT_STRING_set': Function(type='int', derefcnt=0, name='ASN1_BIT_STRING_set', args=[Argument(type='ASN1_BIT_STRING', derefcnt=1, name='a'), Argument(type='unsigned', derefcnt=1, name='d'), Argument(type='int', derefcnt=0, name='length')]), 'ASN1_BIT_STRING_set_asc': Function(type='int', derefcnt=0, name='ASN1_BIT_STRING_set_asc', args=[Argument(type='ASN1_BIT_STRING', derefcnt=1, name='bs'), Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='value'), Argument(type='BIT_STRING_BITNAME', derefcnt=1, name='tbl')]), 'ASN1_BIT_STRING_set_bit': Function(type='int', derefcnt=0, name='ASN1_BIT_STRING_set_bit', args=[Argument(type='ASN1_BIT_STRING', derefcnt=1, name='a'), Argument(type='int', derefcnt=0, name='n'), Argument(type='int', derefcnt=0, name='value')]), 'ASN1_BMPSTRING_free': Function(type='void', derefcnt=0, name='ASN1_BMPSTRING_free', args=[Argument(type='ASN1_BMPSTRING', derefcnt=1, name='a')]), - 'ASN1_BMPSTRING_new': Function(type='ASN1_BMPSTRING', derefcnt=1, name='ASN1_BMPSTRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_BMPSTRING_new': Function(type='ASN1_BMPSTRING', derefcnt=1, name='ASN1_BMPSTRING_new', args=[]), 'ASN1_ENUMERATED_free': Function(type='void', derefcnt=0, name='ASN1_ENUMERATED_free', args=[Argument(type='ASN1_ENUMERATED', derefcnt=1, name='a')]), 'ASN1_ENUMERATED_get': Function(type='long', derefcnt=0, name='ASN1_ENUMERATED_get', args=[Argument(type='ASN1_ENUMERATED', derefcnt=1, name='a')]), - 'ASN1_ENUMERATED_new': Function(type='ASN1_ENUMERATED', derefcnt=1, name='ASN1_ENUMERATED_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_ENUMERATED_new': Function(type='ASN1_ENUMERATED', derefcnt=1, name='ASN1_ENUMERATED_new', args=[]), 'ASN1_ENUMERATED_set': Function(type='int', derefcnt=0, name='ASN1_ENUMERATED_set', args=[Argument(type='ASN1_ENUMERATED', derefcnt=1, name='a'), Argument(type='long', derefcnt=0, name='v')]), 'ASN1_ENUMERATED_to_BN': Function(type='BIGNUM', derefcnt=1, name='ASN1_ENUMERATED_to_BN', args=[Argument(type='ASN1_ENUMERATED', derefcnt=1, name='ai'), Argument(type='BIGNUM', derefcnt=1, name='bn')]), 'ASN1_GENERALIZEDTIME_adj': Function(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='ASN1_GENERALIZEDTIME_adj', args=[Argument(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='s'), Argument(type='time_t', derefcnt=0, name='t'), Argument(type='int', derefcnt=0, name='offset_day'), Argument(type='long', derefcnt=0, name='offset_sec')]), 'ASN1_GENERALIZEDTIME_check': Function(type='int', derefcnt=0, name='ASN1_GENERALIZEDTIME_check', args=[Argument(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='a')]), 'ASN1_GENERALIZEDTIME_free': Function(type='void', derefcnt=0, name='ASN1_GENERALIZEDTIME_free', args=[Argument(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='a')]), - 'ASN1_GENERALIZEDTIME_new': Function(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='ASN1_GENERALIZEDTIME_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_GENERALIZEDTIME_new': Function(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='ASN1_GENERALIZEDTIME_new', args=[]), 'ASN1_GENERALIZEDTIME_print': Function(type='int', derefcnt=0, name='ASN1_GENERALIZEDTIME_print', args=[Argument(type='BIO', derefcnt=1, name='fp'), Argument(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='a')]), 'ASN1_GENERALIZEDTIME_set': Function(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='ASN1_GENERALIZEDTIME_set', args=[Argument(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='s'), Argument(type='time_t', derefcnt=0, name='t')]), 'ASN1_GENERALIZEDTIME_set_string': Function(type='int', derefcnt=0, name='ASN1_GENERALIZEDTIME_set_string', args=[Argument(type='ASN1_GENERALIZEDTIME', derefcnt=1, name='s'), Argument(type='char', derefcnt=1, name='str')]), 'ASN1_GENERALSTRING_free': Function(type='void', derefcnt=0, name='ASN1_GENERALSTRING_free', args=[Argument(type='ASN1_GENERALSTRING', derefcnt=1, name='a')]), - 'ASN1_GENERALSTRING_new': Function(type='ASN1_GENERALSTRING', derefcnt=1, name='ASN1_GENERALSTRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_GENERALSTRING_new': Function(type='ASN1_GENERALSTRING', derefcnt=1, name='ASN1_GENERALSTRING_new', args=[]), 'ASN1_IA5STRING_free': Function(type='void', derefcnt=0, name='ASN1_IA5STRING_free', args=[Argument(type='ASN1_IA5STRING', derefcnt=1, name='a')]), - 'ASN1_IA5STRING_new': Function(type='ASN1_IA5STRING', derefcnt=1, name='ASN1_IA5STRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_IA5STRING_new': Function(type='ASN1_IA5STRING', derefcnt=1, name='ASN1_IA5STRING_new', args=[]), 'ASN1_INTEGER_cmp': Function(type='int', derefcnt=0, name='ASN1_INTEGER_cmp', args=[Argument(type='ASN1_INTEGER', derefcnt=1, name='x'), Argument(type='ASN1_INTEGER', derefcnt=1, name='y')]), 'ASN1_INTEGER_dup': Function(type='ASN1_INTEGER', derefcnt=1, name='ASN1_INTEGER_dup', args=[Argument(type='ASN1_INTEGER', derefcnt=1, name='x')]), 'ASN1_INTEGER_free': Function(type='void', derefcnt=0, name='ASN1_INTEGER_free', args=[Argument(type='ASN1_INTEGER', derefcnt=1, name='a')]), 'ASN1_INTEGER_get': Function(type='long', derefcnt=0, name='ASN1_INTEGER_get', args=[Argument(type='ASN1_INTEGER', derefcnt=1, name='a')]), - 'ASN1_INTEGER_new': Function(type='ASN1_INTEGER', derefcnt=1, name='ASN1_INTEGER_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_INTEGER_new': Function(type='ASN1_INTEGER', derefcnt=1, name='ASN1_INTEGER_new', args=[]), 'ASN1_INTEGER_set': Function(type='int', derefcnt=0, name='ASN1_INTEGER_set', args=[Argument(type='ASN1_INTEGER', derefcnt=1, name='a'), Argument(type='long', derefcnt=0, name='v')]), 'ASN1_INTEGER_to_BN': Function(type='BIGNUM', derefcnt=1, name='ASN1_INTEGER_to_BN', args=[Argument(type='ASN1_INTEGER', derefcnt=1, name='ai'), Argument(type='BIGNUM', derefcnt=1, name='bn')]), 'ASN1_NULL_free': Function(type='void', derefcnt=0, name='ASN1_NULL_free', args=[Argument(type='ASN1_NULL', derefcnt=1, name='a')]), - 'ASN1_NULL_new': Function(type='ASN1_NULL', derefcnt=1, name='ASN1_NULL_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_NULL_new': Function(type='ASN1_NULL', derefcnt=1, name='ASN1_NULL_new', args=[]), 'ASN1_OBJECT_create': Function(type='ASN1_OBJECT', derefcnt=1, name='ASN1_OBJECT_create', args=[Argument(type='int', derefcnt=0, name='nid'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='len'), Argument(type='char', derefcnt=1, name='sn'), Argument(type='char', derefcnt=1, name='ln')]), 'ASN1_OBJECT_free': Function(type='void', derefcnt=0, name='ASN1_OBJECT_free', args=[Argument(type='ASN1_OBJECT', derefcnt=1, name='a')]), - 'ASN1_OBJECT_new': Function(type='ASN1_OBJECT', derefcnt=1, name='ASN1_OBJECT_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_OBJECT_new': Function(type='ASN1_OBJECT', derefcnt=1, name='ASN1_OBJECT_new', args=[]), 'ASN1_OCTET_STRING_cmp': Function(type='int', derefcnt=0, name='ASN1_OCTET_STRING_cmp', args=[Argument(type='ASN1_OCTET_STRING', derefcnt=1, name='a'), Argument(type='ASN1_OCTET_STRING', derefcnt=1, name='b')]), 'ASN1_OCTET_STRING_dup': Function(type='ASN1_OCTET_STRING', derefcnt=1, name='ASN1_OCTET_STRING_dup', args=[Argument(type='ASN1_OCTET_STRING', derefcnt=1, name='a')]), 'ASN1_OCTET_STRING_free': Function(type='void', derefcnt=0, name='ASN1_OCTET_STRING_free', args=[Argument(type='ASN1_OCTET_STRING', derefcnt=1, name='a')]), - 'ASN1_OCTET_STRING_new': Function(type='ASN1_OCTET_STRING', derefcnt=1, name='ASN1_OCTET_STRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_OCTET_STRING_new': Function(type='ASN1_OCTET_STRING', derefcnt=1, name='ASN1_OCTET_STRING_new', args=[]), 'ASN1_OCTET_STRING_set': Function(type='int', derefcnt=0, name='ASN1_OCTET_STRING_set', args=[Argument(type='ASN1_OCTET_STRING', derefcnt=1, name='str'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='len')]), 'ASN1_PCTX_free': Function(type='void', derefcnt=0, name='ASN1_PCTX_free', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p')]), 'ASN1_PCTX_get_cert_flags': Function(type='unsigned', derefcnt=0, name='ASN1_PCTX_get_cert_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p')]), @@ -52,29 +52,29 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ASN1_PCTX_get_nm_flags': Function(type='unsigned', derefcnt=0, name='ASN1_PCTX_get_nm_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p')]), 'ASN1_PCTX_get_oid_flags': Function(type='unsigned', derefcnt=0, name='ASN1_PCTX_get_oid_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p')]), 'ASN1_PCTX_get_str_flags': Function(type='unsigned', derefcnt=0, name='ASN1_PCTX_get_str_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p')]), - 'ASN1_PCTX_new': Function(type='ASN1_PCTX', derefcnt=1, name='ASN1_PCTX_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_PCTX_new': Function(type='ASN1_PCTX', derefcnt=1, name='ASN1_PCTX_new', args=[]), 'ASN1_PCTX_set_cert_flags': Function(type='void', derefcnt=0, name='ASN1_PCTX_set_cert_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'ASN1_PCTX_set_flags': Function(type='void', derefcnt=0, name='ASN1_PCTX_set_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'ASN1_PCTX_set_nm_flags': Function(type='void', derefcnt=0, name='ASN1_PCTX_set_nm_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'ASN1_PCTX_set_oid_flags': Function(type='void', derefcnt=0, name='ASN1_PCTX_set_oid_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'ASN1_PCTX_set_str_flags': Function(type='void', derefcnt=0, name='ASN1_PCTX_set_str_flags', args=[Argument(type='ASN1_PCTX', derefcnt=1, name='p'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'ASN1_PRINTABLESTRING_free': Function(type='void', derefcnt=0, name='ASN1_PRINTABLESTRING_free', args=[Argument(type='ASN1_PRINTABLESTRING', derefcnt=1, name='a')]), - 'ASN1_PRINTABLESTRING_new': Function(type='ASN1_PRINTABLESTRING', derefcnt=1, name='ASN1_PRINTABLESTRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_PRINTABLESTRING_new': Function(type='ASN1_PRINTABLESTRING', derefcnt=1, name='ASN1_PRINTABLESTRING_new', args=[]), 'ASN1_PRINTABLE_free': Function(type='void', derefcnt=0, name='ASN1_PRINTABLE_free', args=[Argument(type='ASN1_STRING', derefcnt=1, name='a')]), - 'ASN1_PRINTABLE_new': Function(type='ASN1_STRING', derefcnt=1, name='ASN1_PRINTABLE_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_PRINTABLE_new': Function(type='ASN1_STRING', derefcnt=1, name='ASN1_PRINTABLE_new', args=[]), 'ASN1_PRINTABLE_type': Function(type='int', derefcnt=0, name='ASN1_PRINTABLE_type', args=[Argument(type='unsigned', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='max')]), 'ASN1_STRING_TABLE_add': Function(type='int', derefcnt=0, name='ASN1_STRING_TABLE_add', args=[Argument(type='int', derefcnt=0, name='arg0'), Argument(type='long', derefcnt=0, name='arg1'), Argument(type='long', derefcnt=0, name='arg2'), Argument(type='unsigned', derefcnt=0, name='arg3'), Argument(type='unsigned', derefcnt=0, name='arg4')]), - 'ASN1_STRING_TABLE_cleanup': Function(type='void', derefcnt=0, name='ASN1_STRING_TABLE_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_STRING_TABLE_cleanup': Function(type='void', derefcnt=0, name='ASN1_STRING_TABLE_cleanup', args=[]), 'ASN1_STRING_TABLE_get': Function(type='ASN1_STRING_TABLE', derefcnt=1, name='ASN1_STRING_TABLE_get', args=[Argument(type='int', derefcnt=0, name='nid')]), 'ASN1_STRING_cmp': Function(type='int', derefcnt=0, name='ASN1_STRING_cmp', args=[Argument(type='ASN1_STRING', derefcnt=1, name='a'), Argument(type='ASN1_STRING', derefcnt=1, name='b')]), 'ASN1_STRING_copy': Function(type='int', derefcnt=0, name='ASN1_STRING_copy', args=[Argument(type='ASN1_STRING', derefcnt=1, name='dst'), Argument(type='ASN1_STRING', derefcnt=1, name='str')]), 'ASN1_STRING_data': Function(type='unsigned', derefcnt=1, name='ASN1_STRING_data', args=[Argument(type='ASN1_STRING', derefcnt=1, name='x')]), 'ASN1_STRING_dup': Function(type='ASN1_STRING', derefcnt=1, name='ASN1_STRING_dup', args=[Argument(type='ASN1_STRING', derefcnt=1, name='a')]), 'ASN1_STRING_free': Function(type='void', derefcnt=0, name='ASN1_STRING_free', args=[Argument(type='ASN1_STRING', derefcnt=1, name='a')]), - 'ASN1_STRING_get_default_mask': Function(type='unsigned', derefcnt=0, name='ASN1_STRING_get_default_mask', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_STRING_get_default_mask': Function(type='unsigned', derefcnt=0, name='ASN1_STRING_get_default_mask', args=[]), 'ASN1_STRING_length': Function(type='int', derefcnt=0, name='ASN1_STRING_length', args=[Argument(type='ASN1_STRING', derefcnt=1, name='x')]), 'ASN1_STRING_length_set': Function(type='void', derefcnt=0, name='ASN1_STRING_length_set', args=[Argument(type='ASN1_STRING', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='n')]), - 'ASN1_STRING_new': Function(type='ASN1_STRING', derefcnt=1, name='ASN1_STRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_STRING_new': Function(type='ASN1_STRING', derefcnt=1, name='ASN1_STRING_new', args=[]), 'ASN1_STRING_print': Function(type='int', derefcnt=0, name='ASN1_STRING_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='ASN1_STRING', derefcnt=1, name='v')]), 'ASN1_STRING_print_ex': Function(type='int', derefcnt=0, name='ASN1_STRING_print_ex', args=[Argument(type='BIO', derefcnt=1, name='out'), Argument(type='ASN1_STRING', derefcnt=1, name='str'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'ASN1_STRING_print_ex_fp': Function(type='int', derefcnt=0, name='ASN1_STRING_print_ex_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='ASN1_STRING', derefcnt=1, name='str'), Argument(type='unsigned', derefcnt=0, name='flags')]), @@ -87,11 +87,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ASN1_STRING_type': Function(type='int', derefcnt=0, name='ASN1_STRING_type', args=[Argument(type='ASN1_STRING', derefcnt=1, name='x')]), 'ASN1_STRING_type_new': Function(type='ASN1_STRING', derefcnt=1, name='ASN1_STRING_type_new', args=[Argument(type='int', derefcnt=0, name='type')]), 'ASN1_T61STRING_free': Function(type='void', derefcnt=0, name='ASN1_T61STRING_free', args=[Argument(type='ASN1_T61STRING', derefcnt=1, name='a')]), - 'ASN1_T61STRING_new': Function(type='ASN1_T61STRING', derefcnt=1, name='ASN1_T61STRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_T61STRING_new': Function(type='ASN1_T61STRING', derefcnt=1, name='ASN1_T61STRING_new', args=[]), 'ASN1_TIME_adj': Function(type='ASN1_TIME', derefcnt=1, name='ASN1_TIME_adj', args=[Argument(type='ASN1_TIME', derefcnt=1, name='s'), Argument(type='time_t', derefcnt=0, name='t'), Argument(type='int', derefcnt=0, name='offset_day'), Argument(type='long', derefcnt=0, name='offset_sec')]), 'ASN1_TIME_check': Function(type='int', derefcnt=0, name='ASN1_TIME_check', args=[Argument(type='ASN1_TIME', derefcnt=1, name='t')]), 'ASN1_TIME_free': Function(type='void', derefcnt=0, name='ASN1_TIME_free', args=[Argument(type='ASN1_TIME', derefcnt=1, name='a')]), - 'ASN1_TIME_new': Function(type='ASN1_TIME', derefcnt=1, name='ASN1_TIME_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_TIME_new': Function(type='ASN1_TIME', derefcnt=1, name='ASN1_TIME_new', args=[]), 'ASN1_TIME_print': Function(type='int', derefcnt=0, name='ASN1_TIME_print', args=[Argument(type='BIO', derefcnt=1, name='fp'), Argument(type='ASN1_TIME', derefcnt=1, name='a')]), 'ASN1_TIME_set': Function(type='ASN1_TIME', derefcnt=1, name='ASN1_TIME_set', args=[Argument(type='ASN1_TIME', derefcnt=1, name='s'), Argument(type='time_t', derefcnt=0, name='t')]), 'ASN1_TIME_set_string': Function(type='int', derefcnt=0, name='ASN1_TIME_set_string', args=[Argument(type='ASN1_TIME', derefcnt=1, name='s'), Argument(type='char', derefcnt=1, name='str')]), @@ -101,27 +101,27 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ASN1_TYPE_get': Function(type='int', derefcnt=0, name='ASN1_TYPE_get', args=[Argument(type='ASN1_TYPE', derefcnt=1, name='a')]), 'ASN1_TYPE_get_int_octetstring': Function(type='int', derefcnt=0, name='ASN1_TYPE_get_int_octetstring', args=[Argument(type='ASN1_TYPE', derefcnt=1, name='a'), Argument(type='long', derefcnt=1, name='num'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='max_len')]), 'ASN1_TYPE_get_octetstring': Function(type='int', derefcnt=0, name='ASN1_TYPE_get_octetstring', args=[Argument(type='ASN1_TYPE', derefcnt=1, name='a'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='max_len')]), - 'ASN1_TYPE_new': Function(type='ASN1_TYPE', derefcnt=1, name='ASN1_TYPE_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_TYPE_new': Function(type='ASN1_TYPE', derefcnt=1, name='ASN1_TYPE_new', args=[]), 'ASN1_TYPE_set': Function(type='void', derefcnt=0, name='ASN1_TYPE_set', args=[Argument(type='ASN1_TYPE', derefcnt=1, name='a'), Argument(type='int', derefcnt=0, name='type'), Argument(type='void', derefcnt=1, name='value')]), 'ASN1_TYPE_set1': Function(type='int', derefcnt=0, name='ASN1_TYPE_set1', args=[Argument(type='ASN1_TYPE', derefcnt=1, name='a'), Argument(type='int', derefcnt=0, name='type'), Argument(type='void', derefcnt=1, name='value')]), 'ASN1_TYPE_set_int_octetstring': Function(type='int', derefcnt=0, name='ASN1_TYPE_set_int_octetstring', args=[Argument(type='ASN1_TYPE', derefcnt=1, name='a'), Argument(type='long', derefcnt=0, name='num'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='len')]), 'ASN1_TYPE_set_octetstring': Function(type='int', derefcnt=0, name='ASN1_TYPE_set_octetstring', args=[Argument(type='ASN1_TYPE', derefcnt=1, name='a'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='len')]), 'ASN1_UNIVERSALSTRING_free': Function(type='void', derefcnt=0, name='ASN1_UNIVERSALSTRING_free', args=[Argument(type='ASN1_UNIVERSALSTRING', derefcnt=1, name='a')]), - 'ASN1_UNIVERSALSTRING_new': Function(type='ASN1_UNIVERSALSTRING', derefcnt=1, name='ASN1_UNIVERSALSTRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_UNIVERSALSTRING_new': Function(type='ASN1_UNIVERSALSTRING', derefcnt=1, name='ASN1_UNIVERSALSTRING_new', args=[]), 'ASN1_UNIVERSALSTRING_to_string': Function(type='int', derefcnt=0, name='ASN1_UNIVERSALSTRING_to_string', args=[Argument(type='ASN1_UNIVERSALSTRING', derefcnt=1, name='s')]), 'ASN1_UTCTIME_adj': Function(type='ASN1_UTCTIME', derefcnt=1, name='ASN1_UTCTIME_adj', args=[Argument(type='ASN1_UTCTIME', derefcnt=1, name='s'), Argument(type='time_t', derefcnt=0, name='t'), Argument(type='int', derefcnt=0, name='offset_day'), Argument(type='long', derefcnt=0, name='offset_sec')]), 'ASN1_UTCTIME_check': Function(type='int', derefcnt=0, name='ASN1_UTCTIME_check', args=[Argument(type='ASN1_UTCTIME', derefcnt=1, name='a')]), 'ASN1_UTCTIME_cmp_time_t': Function(type='int', derefcnt=0, name='ASN1_UTCTIME_cmp_time_t', args=[Argument(type='ASN1_UTCTIME', derefcnt=1, name='s'), Argument(type='time_t', derefcnt=0, name='t')]), 'ASN1_UTCTIME_free': Function(type='void', derefcnt=0, name='ASN1_UTCTIME_free', args=[Argument(type='ASN1_UTCTIME', derefcnt=1, name='a')]), - 'ASN1_UTCTIME_new': Function(type='ASN1_UTCTIME', derefcnt=1, name='ASN1_UTCTIME_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_UTCTIME_new': Function(type='ASN1_UTCTIME', derefcnt=1, name='ASN1_UTCTIME_new', args=[]), 'ASN1_UTCTIME_print': Function(type='int', derefcnt=0, name='ASN1_UTCTIME_print', args=[Argument(type='BIO', derefcnt=1, name='fp'), Argument(type='ASN1_UTCTIME', derefcnt=1, name='a')]), 'ASN1_UTCTIME_set': Function(type='ASN1_UTCTIME', derefcnt=1, name='ASN1_UTCTIME_set', args=[Argument(type='ASN1_UTCTIME', derefcnt=1, name='s'), Argument(type='time_t', derefcnt=0, name='t')]), 'ASN1_UTCTIME_set_string': Function(type='int', derefcnt=0, name='ASN1_UTCTIME_set_string', args=[Argument(type='ASN1_UTCTIME', derefcnt=1, name='s'), Argument(type='char', derefcnt=1, name='str')]), 'ASN1_UTF8STRING_free': Function(type='void', derefcnt=0, name='ASN1_UTF8STRING_free', args=[Argument(type='ASN1_UTF8STRING', derefcnt=1, name='a')]), - 'ASN1_UTF8STRING_new': Function(type='ASN1_UTF8STRING', derefcnt=1, name='ASN1_UTF8STRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_UTF8STRING_new': Function(type='ASN1_UTF8STRING', derefcnt=1, name='ASN1_UTF8STRING_new', args=[]), 'ASN1_VISIBLESTRING_free': Function(type='void', derefcnt=0, name='ASN1_VISIBLESTRING_free', args=[Argument(type='ASN1_VISIBLESTRING', derefcnt=1, name='a')]), - 'ASN1_VISIBLESTRING_new': Function(type='ASN1_VISIBLESTRING', derefcnt=1, name='ASN1_VISIBLESTRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ASN1_add_oid_module': Function(type='void', derefcnt=0, name='ASN1_add_oid_module', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ASN1_VISIBLESTRING_new': Function(type='ASN1_VISIBLESTRING', derefcnt=1, name='ASN1_VISIBLESTRING_new', args=[]), + 'ASN1_add_oid_module': Function(type='void', derefcnt=0, name='ASN1_add_oid_module', args=[]), 'ASN1_bn_print': Function(type='int', derefcnt=0, name='ASN1_bn_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='char', derefcnt=1, name='number'), Argument(type='BIGNUM', derefcnt=1, name='num'), Argument(type='unsigned', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='off')]), 'ASN1_check_infinite_end': Function(type='int', derefcnt=0, name='ASN1_check_infinite_end', args=[Argument(type='unsigned', derefcnt=2, name='p'), Argument(type='long', derefcnt=0, name='len')]), 'ASN1_const_check_infinite_end': Function(type='int', derefcnt=0, name='ASN1_const_check_infinite_end', args=[Argument(type='unsigned', derefcnt=2, name='p'), Argument(type='long', derefcnt=0, name='len')]), @@ -189,15 +189,15 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BIO_dump_indent_cb': Function(type='int', derefcnt=0, name='BIO_dump_indent_cb', args=[Argument(type='int', derefcnt=0, name='cb'), Argument(type='void', derefcnt=1, name='u'), Argument(type='char', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='len'), Argument(type='int', derefcnt=0, name='indent')]), 'BIO_dump_indent_fp': Function(type='int', derefcnt=0, name='BIO_dump_indent_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='char', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='len'), Argument(type='int', derefcnt=0, name='indent')]), 'BIO_dup_chain': Function(type='BIO', derefcnt=1, name='BIO_dup_chain', args=[Argument(type='BIO', derefcnt=1, name='in')]), - 'BIO_f_asn1': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_asn1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_base64': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_base64', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_buffer': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_buffer', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_cipher': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_cipher', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_md': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_md', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_nbio_test': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_nbio_test', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_null': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_null', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_reliable': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_reliable', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_f_ssl': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_ssl', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BIO_f_asn1': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_asn1', args=[]), + 'BIO_f_base64': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_base64', args=[]), + 'BIO_f_buffer': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_buffer', args=[]), + 'BIO_f_cipher': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_cipher', args=[]), + 'BIO_f_md': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_md', args=[]), + 'BIO_f_nbio_test': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_nbio_test', args=[]), + 'BIO_f_null': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_null', args=[]), + 'BIO_f_reliable': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_reliable', args=[]), + 'BIO_f_ssl': Function(type='BIO_METHOD', derefcnt=1, name='BIO_f_ssl', args=[]), 'BIO_fd_non_fatal_error': Function(type='int', derefcnt=0, name='BIO_fd_non_fatal_error', args=[Argument(type='int', derefcnt=0, name='error')]), 'BIO_fd_should_retry': Function(type='int', derefcnt=0, name='BIO_fd_should_retry', args=[Argument(type='int', derefcnt=0, name='i')]), 'BIO_find_type': Function(type='BIO', derefcnt=1, name='BIO_find_type', args=[Argument(type='BIO', derefcnt=1, name='b'), Argument(type='int', derefcnt=0, name='bio_type')]), @@ -246,16 +246,16 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BIO_push': Function(type='BIO', derefcnt=1, name='BIO_push', args=[Argument(type='BIO', derefcnt=1, name='b'), Argument(type='BIO', derefcnt=1, name='append')]), 'BIO_puts': Function(type='int', derefcnt=0, name='BIO_puts', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='char', derefcnt=1, name='buf')]), 'BIO_read': Function(type='int', derefcnt=0, name='BIO_read', args=[Argument(type='BIO', derefcnt=1, name='b'), Argument(type='void', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='len')]), - 'BIO_s_accept': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_accept', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_bio': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_bio', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_connect': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_connect', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_datagram': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_datagram', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_fd': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_fd', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_file': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_file', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_log': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_log', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_mem': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_mem', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_null': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_null', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BIO_s_socket': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_socket', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BIO_s_accept': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_accept', args=[]), + 'BIO_s_bio': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_bio', args=[]), + 'BIO_s_connect': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_connect', args=[]), + 'BIO_s_datagram': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_datagram', args=[]), + 'BIO_s_fd': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_fd', args=[]), + 'BIO_s_file': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_file', args=[]), + 'BIO_s_log': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_log', args=[]), + 'BIO_s_mem': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_mem', args=[]), + 'BIO_s_null': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_null', args=[]), + 'BIO_s_socket': Function(type='BIO_METHOD', derefcnt=1, name='BIO_s_socket', args=[]), 'BIO_set': Function(type='int', derefcnt=0, name='BIO_set', args=[Argument(type='BIO', derefcnt=1, name='a'), Argument(type='BIO_METHOD', derefcnt=1, name='type')]), 'BIO_set_callback': Function(type='void', derefcnt=0, name='BIO_set_callback', args=[Argument(type='BIO', derefcnt=1, name='b'), Argument(type='long', derefcnt=0, name='callback')]), 'BIO_set_callback_arg': Function(type='void', derefcnt=0, name='BIO_set_callback_arg', args=[Argument(type='BIO', derefcnt=1, name='b'), Argument(type='char', derefcnt=1, name='arg')]), @@ -264,9 +264,9 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BIO_set_flags': Function(type='void', derefcnt=0, name='BIO_set_flags', args=[Argument(type='BIO', derefcnt=1, name='b'), Argument(type='int', derefcnt=0, name='flags')]), 'BIO_set_tcp_ndelay': Function(type='int', derefcnt=0, name='BIO_set_tcp_ndelay', args=[Argument(type='int', derefcnt=0, name='sock'), Argument(type='int', derefcnt=0, name='turn_on')]), 'BIO_snprintf': Function(type='int', derefcnt=0, name='BIO_snprintf', args=[Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='n'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), - 'BIO_sock_cleanup': Function(type='void', derefcnt=0, name='BIO_sock_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BIO_sock_cleanup': Function(type='void', derefcnt=0, name='BIO_sock_cleanup', args=[]), 'BIO_sock_error': Function(type='int', derefcnt=0, name='BIO_sock_error', args=[Argument(type='int', derefcnt=0, name='sock')]), - 'BIO_sock_init': Function(type='int', derefcnt=0, name='BIO_sock_init', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BIO_sock_init': Function(type='int', derefcnt=0, name='BIO_sock_init', args=[]), 'BIO_sock_non_fatal_error': Function(type='int', derefcnt=0, name='BIO_sock_non_fatal_error', args=[Argument(type='int', derefcnt=0, name='error')]), 'BIO_sock_should_retry': Function(type='int', derefcnt=0, name='BIO_sock_should_retry', args=[Argument(type='int', derefcnt=0, name='i')]), 'BIO_socket_ioctl': Function(type='int', derefcnt=0, name='BIO_socket_ioctl', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='long', derefcnt=0, name='type'), Argument(type='void', derefcnt=1, name='arg')]), @@ -295,7 +295,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BN_CTX_free': Function(type='void', derefcnt=0, name='BN_CTX_free', args=[Argument(type='BN_CTX', derefcnt=1, name='c')]), 'BN_CTX_get': Function(type='BIGNUM', derefcnt=1, name='BN_CTX_get', args=[Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_CTX_init': Function(type='void', derefcnt=0, name='BN_CTX_init', args=[Argument(type='BN_CTX', derefcnt=1, name='c')]), - 'BN_CTX_new': Function(type='BN_CTX', derefcnt=1, name='BN_CTX_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BN_CTX_new': Function(type='BN_CTX', derefcnt=1, name='BN_CTX_new', args=[]), 'BN_CTX_start': Function(type='void', derefcnt=0, name='BN_CTX_start', args=[Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_GENCB_call': Function(type='int', derefcnt=0, name='BN_GENCB_call', args=[Argument(type='BN_GENCB', derefcnt=1, name='cb'), Argument(type='int', derefcnt=0, name='a'), Argument(type='int', derefcnt=0, name='b')]), 'BN_GF2m_add': Function(type='int', derefcnt=0, name='BN_GF2m_add', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='b')]), @@ -320,12 +320,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BN_MONT_CTX_copy': Function(type='BN_MONT_CTX', derefcnt=1, name='BN_MONT_CTX_copy', args=[Argument(type='BN_MONT_CTX', derefcnt=1, name='to'), Argument(type='BN_MONT_CTX', derefcnt=1, name='from')]), 'BN_MONT_CTX_free': Function(type='void', derefcnt=0, name='BN_MONT_CTX_free', args=[Argument(type='BN_MONT_CTX', derefcnt=1, name='mont')]), 'BN_MONT_CTX_init': Function(type='void', derefcnt=0, name='BN_MONT_CTX_init', args=[Argument(type='BN_MONT_CTX', derefcnt=1, name='ctx')]), - 'BN_MONT_CTX_new': Function(type='BN_MONT_CTX', derefcnt=1, name='BN_MONT_CTX_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BN_MONT_CTX_new': Function(type='BN_MONT_CTX', derefcnt=1, name='BN_MONT_CTX_new', args=[]), 'BN_MONT_CTX_set': Function(type='int', derefcnt=0, name='BN_MONT_CTX_set', args=[Argument(type='BN_MONT_CTX', derefcnt=1, name='mont'), Argument(type='BIGNUM', derefcnt=1, name='mod'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_MONT_CTX_set_locked': Function(type='BN_MONT_CTX', derefcnt=1, name='BN_MONT_CTX_set_locked', args=[Argument(type='BN_MONT_CTX', derefcnt=2, name='pmont'), Argument(type='int', derefcnt=0, name='lock'), Argument(type='BIGNUM', derefcnt=1, name='mod'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_RECP_CTX_free': Function(type='void', derefcnt=0, name='BN_RECP_CTX_free', args=[Argument(type='BN_RECP_CTX', derefcnt=1, name='recp')]), 'BN_RECP_CTX_init': Function(type='void', derefcnt=0, name='BN_RECP_CTX_init', args=[Argument(type='BN_RECP_CTX', derefcnt=1, name='recp')]), - 'BN_RECP_CTX_new': Function(type='BN_RECP_CTX', derefcnt=1, name='BN_RECP_CTX_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BN_RECP_CTX_new': Function(type='BN_RECP_CTX', derefcnt=1, name='BN_RECP_CTX_new', args=[]), 'BN_RECP_CTX_set': Function(type='int', derefcnt=0, name='BN_RECP_CTX_set', args=[Argument(type='BN_RECP_CTX', derefcnt=1, name='recp'), Argument(type='BIGNUM', derefcnt=1, name='rdiv'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_X931_derive_prime_ex': Function(type='int', derefcnt=0, name='BN_X931_derive_prime_ex', args=[Argument(type='BIGNUM', derefcnt=1, name='p'), Argument(type='BIGNUM', derefcnt=1, name='p1'), Argument(type='BIGNUM', derefcnt=1, name='p2'), Argument(type='BIGNUM', derefcnt=1, name='Xp'), Argument(type='BIGNUM', derefcnt=1, name='Xp1'), Argument(type='BIGNUM', derefcnt=1, name='Xp2'), Argument(type='BIGNUM', derefcnt=1, name='e'), Argument(type='BN_CTX', derefcnt=1, name='ctx'), Argument(type='BN_GENCB', derefcnt=1, name='cb')]), 'BN_X931_generate_Xpq': Function(type='int', derefcnt=0, name='BN_X931_generate_Xpq', args=[Argument(type='BIGNUM', derefcnt=1, name='Xp'), Argument(type='BIGNUM', derefcnt=1, name='Xq'), Argument(type='int', derefcnt=0, name='nbits'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), @@ -356,11 +356,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BN_gcd': Function(type='int', derefcnt=0, name='BN_gcd', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='b'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_generate_prime': Function(type='BIGNUM', derefcnt=1, name='BN_generate_prime', args=[Argument(type='BIGNUM', derefcnt=1, name='ret'), Argument(type='int', derefcnt=0, name='bits'), Argument(type='int', derefcnt=0, name='safe'), Argument(type='BIGNUM', derefcnt=1, name='add'), Argument(type='BIGNUM', derefcnt=1, name='rem'), Argument(type='void', derefcnt=0, name='callback'), Argument(type='void', derefcnt=1, name='cb_arg')]), 'BN_generate_prime_ex': Function(type='int', derefcnt=0, name='BN_generate_prime_ex', args=[Argument(type='BIGNUM', derefcnt=1, name='ret'), Argument(type='int', derefcnt=0, name='bits'), Argument(type='int', derefcnt=0, name='safe'), Argument(type='BIGNUM', derefcnt=1, name='add'), Argument(type='BIGNUM', derefcnt=1, name='rem'), Argument(type='BN_GENCB', derefcnt=1, name='cb')]), - 'BN_get0_nist_prime_192': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_192', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BN_get0_nist_prime_224': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_224', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BN_get0_nist_prime_256': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_256', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BN_get0_nist_prime_384': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_384', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'BN_get0_nist_prime_521': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_521', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BN_get0_nist_prime_192': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_192', args=[]), + 'BN_get0_nist_prime_224': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_224', args=[]), + 'BN_get0_nist_prime_256': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_256', args=[]), + 'BN_get0_nist_prime_384': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_384', args=[]), + 'BN_get0_nist_prime_521': Function(type='BIGNUM', derefcnt=1, name='BN_get0_nist_prime_521', args=[]), 'BN_get_params': Function(type='int', derefcnt=0, name='BN_get_params', args=[Argument(type='int', derefcnt=0, name='which')]), 'BN_get_word': Function(type='unsigned', derefcnt=0, name='BN_get_word', args=[Argument(type='BIGNUM', derefcnt=1, name='a')]), 'BN_hex2bn': Function(type='int', derefcnt=0, name='BN_hex2bn', args=[Argument(type='BIGNUM', derefcnt=2, name='a'), Argument(type='char', derefcnt=1, name='str')]), @@ -399,7 +399,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BN_mpi2bn': Function(type='BIGNUM', derefcnt=1, name='BN_mpi2bn', args=[Argument(type='unsigned', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='len'), Argument(type='BIGNUM', derefcnt=1, name='ret')]), 'BN_mul': Function(type='int', derefcnt=0, name='BN_mul', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='b'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_mul_word': Function(type='int', derefcnt=0, name='BN_mul_word', args=[Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='unsigned', derefcnt=0, name='w')]), - 'BN_new': Function(type='BIGNUM', derefcnt=1, name='BN_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BN_new': Function(type='BIGNUM', derefcnt=1, name='BN_new', args=[]), 'BN_nist_mod_192': Function(type='int', derefcnt=0, name='BN_nist_mod_192', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='p'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_nist_mod_224': Function(type='int', derefcnt=0, name='BN_nist_mod_224', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='p'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_nist_mod_256': Function(type='int', derefcnt=0, name='BN_nist_mod_256', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='p'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), @@ -408,7 +408,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BN_nnmod': Function(type='int', derefcnt=0, name='BN_nnmod', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='m'), Argument(type='BIGNUM', derefcnt=1, name='d'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'BN_num_bits': Function(type='int', derefcnt=0, name='BN_num_bits', args=[Argument(type='BIGNUM', derefcnt=1, name='a')]), 'BN_num_bits_word': Function(type='int', derefcnt=0, name='BN_num_bits_word', args=[Argument(type='unsigned', derefcnt=0, name='arg0')]), - 'BN_options': Function(type='char', derefcnt=1, name='BN_options', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BN_options': Function(type='char', derefcnt=1, name='BN_options', args=[]), 'BN_print': Function(type='int', derefcnt=0, name='BN_print', args=[Argument(type='BIO', derefcnt=1, name='fp'), Argument(type='BIGNUM', derefcnt=1, name='a')]), 'BN_print_fp': Function(type='int', derefcnt=0, name='BN_print_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='BIGNUM', derefcnt=1, name='a')]), 'BN_pseudo_rand': Function(type='int', derefcnt=0, name='BN_pseudo_rand', args=[Argument(type='BIGNUM', derefcnt=1, name='rnd'), Argument(type='int', derefcnt=0, name='bits'), Argument(type='int', derefcnt=0, name='top'), Argument(type='int', derefcnt=0, name='bottom')]), @@ -431,11 +431,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'BN_uadd': Function(type='int', derefcnt=0, name='BN_uadd', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='b')]), 'BN_ucmp': Function(type='int', derefcnt=0, name='BN_ucmp', args=[Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='b')]), 'BN_usub': Function(type='int', derefcnt=0, name='BN_usub', args=[Argument(type='BIGNUM', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='a'), Argument(type='BIGNUM', derefcnt=1, name='b')]), - 'BN_value_one': Function(type='BIGNUM', derefcnt=1, name='BN_value_one', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BN_value_one': Function(type='BIGNUM', derefcnt=1, name='BN_value_one', args=[]), 'BUF_MEM_free': Function(type='void', derefcnt=0, name='BUF_MEM_free', args=[Argument(type='BUF_MEM', derefcnt=1, name='a')]), 'BUF_MEM_grow': Function(type='int', derefcnt=0, name='BUF_MEM_grow', args=[Argument(type='BUF_MEM', derefcnt=1, name='str'), Argument(type='size_t', derefcnt=0, name='len')]), 'BUF_MEM_grow_clean': Function(type='int', derefcnt=0, name='BUF_MEM_grow_clean', args=[Argument(type='BUF_MEM', derefcnt=1, name='str'), Argument(type='size_t', derefcnt=0, name='len')]), - 'BUF_MEM_new': Function(type='BUF_MEM', derefcnt=1, name='BUF_MEM_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'BUF_MEM_new': Function(type='BUF_MEM', derefcnt=1, name='BUF_MEM_new', args=[]), 'BUF_memdup': Function(type='void', derefcnt=1, name='BUF_memdup', args=[Argument(type='void', derefcnt=1, name='data'), Argument(type='size_t', derefcnt=0, name='siz')]), 'BUF_reverse': Function(type='void', derefcnt=0, name='BUF_reverse', args=[Argument(type='unsigned', derefcnt=1, name='out'), Argument(type='unsigned', derefcnt=1, name='in'), Argument(type='size_t', derefcnt=0, name='siz')]), 'BUF_strdup': Function(type='char', derefcnt=1, name='BUF_strdup', args=[Argument(type='char', derefcnt=1, name='str')]), @@ -446,9 +446,9 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'COMP_CTX_new': Function(type='COMP_CTX', derefcnt=1, name='COMP_CTX_new', args=[Argument(type='COMP_METHOD', derefcnt=1, name='meth')]), 'COMP_compress_block': Function(type='int', derefcnt=0, name='COMP_compress_block', args=[Argument(type='COMP_CTX', derefcnt=1, name='ctx'), Argument(type='unsigned', derefcnt=1, name='out'), Argument(type='int', derefcnt=0, name='olen'), Argument(type='unsigned', derefcnt=1, name='in'), Argument(type='int', derefcnt=0, name='ilen')]), 'COMP_expand_block': Function(type='int', derefcnt=0, name='COMP_expand_block', args=[Argument(type='COMP_CTX', derefcnt=1, name='ctx'), Argument(type='unsigned', derefcnt=1, name='out'), Argument(type='int', derefcnt=0, name='olen'), Argument(type='unsigned', derefcnt=1, name='in'), Argument(type='int', derefcnt=0, name='ilen')]), - 'COMP_rle': Function(type='COMP_METHOD', derefcnt=1, name='COMP_rle', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'COMP_zlib': Function(type='COMP_METHOD', derefcnt=1, name='COMP_zlib', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'COMP_zlib_cleanup': Function(type='void', derefcnt=0, name='COMP_zlib_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'COMP_rle': Function(type='COMP_METHOD', derefcnt=1, name='COMP_rle', args=[]), + 'COMP_zlib': Function(type='COMP_METHOD', derefcnt=1, name='COMP_zlib', args=[]), + 'COMP_zlib_cleanup': Function(type='void', derefcnt=0, name='COMP_zlib_cleanup', args=[]), 'CRYPTO_EX_dup': Function(type='int', derefcnt=0, name='CRYPTO_EX_dup', args=[Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='to'), Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='from'), Argument(type='void', derefcnt=1, name='from_d'), Argument(type='int', derefcnt=0, name='idx'), Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp')]), 'CRYPTO_EX_free': Function(type='void', derefcnt=0, name='CRYPTO_EX_free', args=[Argument(type='void', derefcnt=1, name='parent'), Argument(type='void', derefcnt=1, name='ptr'), Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='ad'), Argument(type='int', derefcnt=0, name='idx'), Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp')]), 'CRYPTO_EX_new': Function(type='int', derefcnt=0, name='CRYPTO_EX_new', args=[Argument(type='void', derefcnt=1, name='parent'), Argument(type='void', derefcnt=1, name='ptr'), Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='ad'), Argument(type='int', derefcnt=0, name='idx'), Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp')]), @@ -456,44 +456,44 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'CRYPTO_THREADID_cmp': Function(type='int', derefcnt=0, name='CRYPTO_THREADID_cmp', args=[Argument(type='CRYPTO_THREADID', derefcnt=1, name='a'), Argument(type='CRYPTO_THREADID', derefcnt=1, name='b')]), 'CRYPTO_THREADID_cpy': Function(type='void', derefcnt=0, name='CRYPTO_THREADID_cpy', args=[Argument(type='CRYPTO_THREADID', derefcnt=1, name='dest'), Argument(type='CRYPTO_THREADID', derefcnt=1, name='src')]), 'CRYPTO_THREADID_current': Function(type='void', derefcnt=0, name='CRYPTO_THREADID_current', args=[Argument(type='CRYPTO_THREADID', derefcnt=1, name='id')]), - 'CRYPTO_THREADID_get_callback': Function(type='void', derefcnt=0, name='CRYPTO_THREADID_get_callback', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_THREADID_get_callback': Function(type='void', derefcnt=0, name='CRYPTO_THREADID_get_callback', args=[]), 'CRYPTO_THREADID_hash': Function(type='unsigned', derefcnt=0, name='CRYPTO_THREADID_hash', args=[Argument(type='CRYPTO_THREADID', derefcnt=1, name='id')]), 'CRYPTO_THREADID_set_callback': Function(type='int', derefcnt=0, name='CRYPTO_THREADID_set_callback', args=[Argument(type='void', derefcnt=0, name='threadid_func')]), 'CRYPTO_THREADID_set_numeric': Function(type='void', derefcnt=0, name='CRYPTO_THREADID_set_numeric', args=[Argument(type='CRYPTO_THREADID', derefcnt=1, name='id'), Argument(type='unsigned', derefcnt=0, name='val')]), 'CRYPTO_THREADID_set_pointer': Function(type='void', derefcnt=0, name='CRYPTO_THREADID_set_pointer', args=[Argument(type='CRYPTO_THREADID', derefcnt=1, name='id'), Argument(type='void', derefcnt=1, name='ptr')]), 'CRYPTO_add_lock': Function(type='int', derefcnt=0, name='CRYPTO_add_lock', args=[Argument(type='int', derefcnt=1, name='pointer'), Argument(type='int', derefcnt=0, name='amount'), Argument(type='int', derefcnt=0, name='type'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), - 'CRYPTO_cleanup_all_ex_data': Function(type='void', derefcnt=0, name='CRYPTO_cleanup_all_ex_data', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_cleanup_all_ex_data': Function(type='void', derefcnt=0, name='CRYPTO_cleanup_all_ex_data', args=[]), 'CRYPTO_dbg_free': Function(type='void', derefcnt=0, name='CRYPTO_dbg_free', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='int', derefcnt=0, name='before_p')]), - 'CRYPTO_dbg_get_options': Function(type='long', derefcnt=0, name='CRYPTO_dbg_get_options', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_dbg_get_options': Function(type='long', derefcnt=0, name='CRYPTO_dbg_get_options', args=[]), 'CRYPTO_dbg_malloc': Function(type='void', derefcnt=0, name='CRYPTO_dbg_malloc', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='int', derefcnt=0, name='num'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line'), Argument(type='int', derefcnt=0, name='before_p')]), 'CRYPTO_dbg_realloc': Function(type='void', derefcnt=0, name='CRYPTO_dbg_realloc', args=[Argument(type='void', derefcnt=1, name='addr1'), Argument(type='void', derefcnt=1, name='addr2'), Argument(type='int', derefcnt=0, name='num'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line'), Argument(type='int', derefcnt=0, name='before_p')]), 'CRYPTO_dbg_set_options': Function(type='void', derefcnt=0, name='CRYPTO_dbg_set_options', args=[Argument(type='long', derefcnt=0, name='bits')]), 'CRYPTO_destroy_dynlockid': Function(type='void', derefcnt=0, name='CRYPTO_destroy_dynlockid', args=[Argument(type='int', derefcnt=0, name='i')]), 'CRYPTO_dup_ex_data': Function(type='int', derefcnt=0, name='CRYPTO_dup_ex_data', args=[Argument(type='int', derefcnt=0, name='class_index'), Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='to'), Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='from')]), - 'CRYPTO_ex_data_new_class': Function(type='int', derefcnt=0, name='CRYPTO_ex_data_new_class', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_ex_data_new_class': Function(type='int', derefcnt=0, name='CRYPTO_ex_data_new_class', args=[]), 'CRYPTO_free': Function(type='void', derefcnt=0, name='CRYPTO_free', args=[Argument(type='void', derefcnt=1, name='ptr')]), 'CRYPTO_free_ex_data': Function(type='void', derefcnt=0, name='CRYPTO_free_ex_data', args=[Argument(type='int', derefcnt=0, name='class_index'), Argument(type='void', derefcnt=1, name='obj'), Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='ad')]), 'CRYPTO_free_locked': Function(type='void', derefcnt=0, name='CRYPTO_free_locked', args=[Argument(type='void', derefcnt=1, name='ptr')]), - 'CRYPTO_get_add_lock_callback': Function(type='int', derefcnt=0, name='CRYPTO_get_add_lock_callback', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'CRYPTO_get_dynlock_create_callback': Function(type='CRYPTO_dynlock_value', derefcnt=1, name='CRYPTO_get_dynlock_create_callback', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'CRYPTO_get_dynlock_destroy_callback': Function(type='void', derefcnt=0, name='CRYPTO_get_dynlock_destroy_callback', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'CRYPTO_get_dynlock_lock_callback': Function(type='void', derefcnt=0, name='CRYPTO_get_dynlock_lock_callback', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_get_add_lock_callback': Function(type='int', derefcnt=0, name='CRYPTO_get_add_lock_callback', args=[]), + 'CRYPTO_get_dynlock_create_callback': Function(type='CRYPTO_dynlock_value', derefcnt=1, name='CRYPTO_get_dynlock_create_callback', args=[]), + 'CRYPTO_get_dynlock_destroy_callback': Function(type='void', derefcnt=0, name='CRYPTO_get_dynlock_destroy_callback', args=[]), + 'CRYPTO_get_dynlock_lock_callback': Function(type='void', derefcnt=0, name='CRYPTO_get_dynlock_lock_callback', args=[]), 'CRYPTO_get_dynlock_value': Function(type='CRYPTO_dynlock_value', derefcnt=1, name='CRYPTO_get_dynlock_value', args=[Argument(type='int', derefcnt=0, name='i')]), 'CRYPTO_get_ex_data': Function(type='void', derefcnt=1, name='CRYPTO_get_ex_data', args=[Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='ad'), Argument(type='int', derefcnt=0, name='idx')]), - 'CRYPTO_get_ex_data_implementation': Function(type='CRYPTO_EX_DATA_IMPL', derefcnt=1, name='CRYPTO_get_ex_data_implementation', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_get_ex_data_implementation': Function(type='CRYPTO_EX_DATA_IMPL', derefcnt=1, name='CRYPTO_get_ex_data_implementation', args=[]), 'CRYPTO_get_ex_new_index': Function(type='int', derefcnt=0, name='CRYPTO_get_ex_new_index', args=[Argument(type='int', derefcnt=0, name='class_index'), Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), - 'CRYPTO_get_id_callback': Function(type='unsigned', derefcnt=0, name='CRYPTO_get_id_callback', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_get_id_callback': Function(type='unsigned', derefcnt=0, name='CRYPTO_get_id_callback', args=[]), 'CRYPTO_get_lock_name': Function(type='char', derefcnt=1, name='CRYPTO_get_lock_name', args=[Argument(type='int', derefcnt=0, name='type')]), 'CRYPTO_get_locked_mem_ex_functions': Function(type='void', derefcnt=0, name='CRYPTO_get_locked_mem_ex_functions', args=[Argument(type='void', derefcnt=1, name='m'), Argument(type='void', derefcnt=0, name='f')]), 'CRYPTO_get_locked_mem_functions': Function(type='void', derefcnt=0, name='CRYPTO_get_locked_mem_functions', args=[Argument(type='void', derefcnt=1, name='m'), Argument(type='void', derefcnt=0, name='f')]), - 'CRYPTO_get_locking_callback': Function(type='void', derefcnt=0, name='CRYPTO_get_locking_callback', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_get_locking_callback': Function(type='void', derefcnt=0, name='CRYPTO_get_locking_callback', args=[]), 'CRYPTO_get_mem_debug_functions': Function(type='void', derefcnt=0, name='CRYPTO_get_mem_debug_functions', args=[Argument(type='void', derefcnt=0, name='m'), Argument(type='void', derefcnt=0, name='r'), Argument(type='void', derefcnt=0, name='f'), Argument(type='void', derefcnt=0, name='so'), Argument(type='long', derefcnt=0, name='go')]), - 'CRYPTO_get_mem_debug_options': Function(type='long', derefcnt=0, name='CRYPTO_get_mem_debug_options', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_get_mem_debug_options': Function(type='long', derefcnt=0, name='CRYPTO_get_mem_debug_options', args=[]), 'CRYPTO_get_mem_ex_functions': Function(type='void', derefcnt=0, name='CRYPTO_get_mem_ex_functions', args=[Argument(type='void', derefcnt=1, name='m'), Argument(type='void', derefcnt=1, name='r'), Argument(type='void', derefcnt=0, name='f')]), 'CRYPTO_get_mem_functions': Function(type='void', derefcnt=0, name='CRYPTO_get_mem_functions', args=[Argument(type='void', derefcnt=1, name='m'), Argument(type='void', derefcnt=1, name='r'), Argument(type='void', derefcnt=0, name='f')]), - 'CRYPTO_get_new_dynlockid': Function(type='int', derefcnt=0, name='CRYPTO_get_new_dynlockid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_get_new_dynlockid': Function(type='int', derefcnt=0, name='CRYPTO_get_new_dynlockid', args=[]), 'CRYPTO_get_new_lockid': Function(type='int', derefcnt=0, name='CRYPTO_get_new_lockid', args=[Argument(type='char', derefcnt=1, name='name')]), - 'CRYPTO_is_mem_check_on': Function(type='int', derefcnt=0, name='CRYPTO_is_mem_check_on', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_is_mem_check_on': Function(type='int', derefcnt=0, name='CRYPTO_is_mem_check_on', args=[]), 'CRYPTO_lock': Function(type='void', derefcnt=0, name='CRYPTO_lock', args=[Argument(type='int', derefcnt=0, name='mode'), Argument(type='int', derefcnt=0, name='type'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), 'CRYPTO_malloc': Function(type='void', derefcnt=1, name='CRYPTO_malloc', args=[Argument(type='int', derefcnt=0, name='num'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), 'CRYPTO_malloc_locked': Function(type='void', derefcnt=1, name='CRYPTO_malloc_locked', args=[Argument(type='int', derefcnt=0, name='num'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), @@ -503,13 +503,13 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'CRYPTO_mem_leaks_fp': Function(type='void', derefcnt=0, name='CRYPTO_mem_leaks_fp', args=[Argument(type='FILE', derefcnt=1, name='arg0')]), 'CRYPTO_memcmp': Function(type='int', derefcnt=0, name='CRYPTO_memcmp', args=[Argument(type='void', derefcnt=1, name='a'), Argument(type='void', derefcnt=1, name='b'), Argument(type='size_t', derefcnt=0, name='len')]), 'CRYPTO_new_ex_data': Function(type='int', derefcnt=0, name='CRYPTO_new_ex_data', args=[Argument(type='int', derefcnt=0, name='class_index'), Argument(type='void', derefcnt=1, name='obj'), Argument(type='CRYPTO_EX_DATA', derefcnt=1, name='ad')]), - 'CRYPTO_num_locks': Function(type='int', derefcnt=0, name='CRYPTO_num_locks', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'CRYPTO_pop_info': Function(type='int', derefcnt=0, name='CRYPTO_pop_info', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_num_locks': Function(type='int', derefcnt=0, name='CRYPTO_num_locks', args=[]), + 'CRYPTO_pop_info': Function(type='int', derefcnt=0, name='CRYPTO_pop_info', args=[]), 'CRYPTO_push_info_': Function(type='int', derefcnt=0, name='CRYPTO_push_info_', args=[Argument(type='char', derefcnt=1, name='info'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), 'CRYPTO_realloc': Function(type='void', derefcnt=1, name='CRYPTO_realloc', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='int', derefcnt=0, name='num'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), 'CRYPTO_realloc_clean': Function(type='void', derefcnt=1, name='CRYPTO_realloc_clean', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='int', derefcnt=0, name='old_num'), Argument(type='int', derefcnt=0, name='num'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), 'CRYPTO_remalloc': Function(type='void', derefcnt=1, name='CRYPTO_remalloc', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='int', derefcnt=0, name='num'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), - 'CRYPTO_remove_all_info': Function(type='int', derefcnt=0, name='CRYPTO_remove_all_info', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_remove_all_info': Function(type='int', derefcnt=0, name='CRYPTO_remove_all_info', args=[]), 'CRYPTO_set_add_lock_callback': Function(type='void', derefcnt=0, name='CRYPTO_set_add_lock_callback', args=[Argument(type='int', derefcnt=0, name='func')]), 'CRYPTO_set_dynlock_create_callback': Function(type='void', derefcnt=0, name='CRYPTO_set_dynlock_create_callback', args=[Argument(type='CRYPTO_dynlock_value', derefcnt=1, name='dyn_create_function')]), 'CRYPTO_set_dynlock_destroy_callback': Function(type='void', derefcnt=0, name='CRYPTO_set_dynlock_destroy_callback', args=[Argument(type='void', derefcnt=0, name='dyn_destroy_function')]), @@ -525,8 +525,8 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'CRYPTO_set_mem_ex_functions': Function(type='int', derefcnt=0, name='CRYPTO_set_mem_ex_functions', args=[Argument(type='void', derefcnt=1, name='m'), Argument(type='void', derefcnt=1, name='r'), Argument(type='void', derefcnt=0, name='f')]), 'CRYPTO_set_mem_functions': Function(type='int', derefcnt=0, name='CRYPTO_set_mem_functions', args=[Argument(type='void', derefcnt=1, name='m'), Argument(type='void', derefcnt=1, name='r'), Argument(type='void', derefcnt=0, name='f')]), 'CRYPTO_strdup': Function(type='char', derefcnt=1, name='CRYPTO_strdup', args=[Argument(type='char', derefcnt=1, name='str'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line')]), - 'CRYPTO_thread_id': Function(type='unsigned', derefcnt=0, name='CRYPTO_thread_id', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'DH_OpenSSL': Function(type='DH_METHOD', derefcnt=1, name='DH_OpenSSL', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'CRYPTO_thread_id': Function(type='unsigned', derefcnt=0, name='CRYPTO_thread_id', args=[]), + 'DH_OpenSSL': Function(type='DH_METHOD', derefcnt=1, name='DH_OpenSSL', args=[]), 'DH_check': Function(type='int', derefcnt=0, name='DH_check', args=[Argument(type='DH', derefcnt=1, name='dh'), Argument(type='int', derefcnt=1, name='codes')]), 'DH_check_pub_key': Function(type='int', derefcnt=0, name='DH_check_pub_key', args=[Argument(type='DH', derefcnt=1, name='dh'), Argument(type='BIGNUM', derefcnt=1, name='pub_key'), Argument(type='int', derefcnt=1, name='codes')]), 'DH_compute_key': Function(type='int', derefcnt=0, name='DH_compute_key', args=[Argument(type='unsigned', derefcnt=1, name='key'), Argument(type='BIGNUM', derefcnt=1, name='pub_key'), Argument(type='DH', derefcnt=1, name='dh')]), @@ -534,10 +534,10 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'DH_generate_key': Function(type='int', derefcnt=0, name='DH_generate_key', args=[Argument(type='DH', derefcnt=1, name='dh')]), 'DH_generate_parameters': Function(type='DH', derefcnt=1, name='DH_generate_parameters', args=[Argument(type='int', derefcnt=0, name='prime_len'), Argument(type='int', derefcnt=0, name='generator'), Argument(type='void', derefcnt=0, name='callback'), Argument(type='void', derefcnt=1, name='cb_arg')]), 'DH_generate_parameters_ex': Function(type='int', derefcnt=0, name='DH_generate_parameters_ex', args=[Argument(type='DH', derefcnt=1, name='dh'), Argument(type='int', derefcnt=0, name='prime_len'), Argument(type='int', derefcnt=0, name='generator'), Argument(type='BN_GENCB', derefcnt=1, name='cb')]), - 'DH_get_default_method': Function(type='DH_METHOD', derefcnt=1, name='DH_get_default_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DH_get_default_method': Function(type='DH_METHOD', derefcnt=1, name='DH_get_default_method', args=[]), 'DH_get_ex_data': Function(type='void', derefcnt=1, name='DH_get_ex_data', args=[Argument(type='DH', derefcnt=1, name='d'), Argument(type='int', derefcnt=0, name='idx')]), 'DH_get_ex_new_index': Function(type='int', derefcnt=0, name='DH_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), - 'DH_new': Function(type='DH', derefcnt=1, name='DH_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DH_new': Function(type='DH', derefcnt=1, name='DH_new', args=[]), 'DH_new_method': Function(type='DH', derefcnt=1, name='DH_new_method', args=[Argument(type='ENGINE', derefcnt=1, name='engine')]), 'DH_set_default_method': Function(type='void', derefcnt=0, name='DH_set_default_method', args=[Argument(type='DH_METHOD', derefcnt=1, name='meth')]), 'DH_set_ex_data': Function(type='int', derefcnt=0, name='DH_set_ex_data', args=[Argument(type='DH', derefcnt=1, name='d'), Argument(type='int', derefcnt=0, name='idx'), Argument(type='void', derefcnt=1, name='arg')]), @@ -548,12 +548,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'DHparams_print': Function(type='int', derefcnt=0, name='DHparams_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='DH', derefcnt=1, name='x')]), 'DHparams_print_fp': Function(type='int', derefcnt=0, name='DHparams_print_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='DH', derefcnt=1, name='x')]), 'DIRECTORYSTRING_free': Function(type='void', derefcnt=0, name='DIRECTORYSTRING_free', args=[Argument(type='ASN1_STRING', derefcnt=1, name='a')]), - 'DIRECTORYSTRING_new': Function(type='ASN1_STRING', derefcnt=1, name='DIRECTORYSTRING_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DIRECTORYSTRING_new': Function(type='ASN1_STRING', derefcnt=1, name='DIRECTORYSTRING_new', args=[]), 'DISPLAYTEXT_free': Function(type='void', derefcnt=0, name='DISPLAYTEXT_free', args=[Argument(type='ASN1_STRING', derefcnt=1, name='a')]), - 'DISPLAYTEXT_new': Function(type='ASN1_STRING', derefcnt=1, name='DISPLAYTEXT_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'DSA_OpenSSL': Function(type='DSA_METHOD', derefcnt=1, name='DSA_OpenSSL', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DISPLAYTEXT_new': Function(type='ASN1_STRING', derefcnt=1, name='DISPLAYTEXT_new', args=[]), + 'DSA_OpenSSL': Function(type='DSA_METHOD', derefcnt=1, name='DSA_OpenSSL', args=[]), 'DSA_SIG_free': Function(type='void', derefcnt=0, name='DSA_SIG_free', args=[Argument(type='DSA_SIG', derefcnt=1, name='a')]), - 'DSA_SIG_new': Function(type='DSA_SIG', derefcnt=1, name='DSA_SIG_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DSA_SIG_new': Function(type='DSA_SIG', derefcnt=1, name='DSA_SIG_new', args=[]), 'DSA_do_sign': Function(type='DSA_SIG', derefcnt=1, name='DSA_do_sign', args=[Argument(type='unsigned', derefcnt=1, name='dgst'), Argument(type='int', derefcnt=0, name='dlen'), Argument(type='DSA', derefcnt=1, name='dsa')]), 'DSA_do_verify': Function(type='int', derefcnt=0, name='DSA_do_verify', args=[Argument(type='unsigned', derefcnt=1, name='dgst'), Argument(type='int', derefcnt=0, name='dgst_len'), Argument(type='DSA_SIG', derefcnt=1, name='sig'), Argument(type='DSA', derefcnt=1, name='dsa')]), 'DSA_dup_DH': Function(type='DH', derefcnt=1, name='DSA_dup_DH', args=[Argument(type='DSA', derefcnt=1, name='r')]), @@ -561,10 +561,10 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'DSA_generate_key': Function(type='int', derefcnt=0, name='DSA_generate_key', args=[Argument(type='DSA', derefcnt=1, name='a')]), 'DSA_generate_parameters': Function(type='DSA', derefcnt=1, name='DSA_generate_parameters', args=[Argument(type='int', derefcnt=0, name='bits'), Argument(type='unsigned', derefcnt=1, name='seed'), Argument(type='int', derefcnt=0, name='seed_len'), Argument(type='int', derefcnt=1, name='counter_ret'), Argument(type='unsigned', derefcnt=1, name='h_ret'), Argument(type='void', derefcnt=0, name='callback'), Argument(type='void', derefcnt=1, name='cb_arg')]), 'DSA_generate_parameters_ex': Function(type='int', derefcnt=0, name='DSA_generate_parameters_ex', args=[Argument(type='DSA', derefcnt=1, name='dsa'), Argument(type='int', derefcnt=0, name='bits'), Argument(type='unsigned', derefcnt=1, name='seed'), Argument(type='int', derefcnt=0, name='seed_len'), Argument(type='int', derefcnt=1, name='counter_ret'), Argument(type='unsigned', derefcnt=1, name='h_ret'), Argument(type='BN_GENCB', derefcnt=1, name='cb')]), - 'DSA_get_default_method': Function(type='DSA_METHOD', derefcnt=1, name='DSA_get_default_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DSA_get_default_method': Function(type='DSA_METHOD', derefcnt=1, name='DSA_get_default_method', args=[]), 'DSA_get_ex_data': Function(type='void', derefcnt=1, name='DSA_get_ex_data', args=[Argument(type='DSA', derefcnt=1, name='d'), Argument(type='int', derefcnt=0, name='idx')]), 'DSA_get_ex_new_index': Function(type='int', derefcnt=0, name='DSA_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), - 'DSA_new': Function(type='DSA', derefcnt=1, name='DSA_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DSA_new': Function(type='DSA', derefcnt=1, name='DSA_new', args=[]), 'DSA_new_method': Function(type='DSA', derefcnt=1, name='DSA_new_method', args=[Argument(type='ENGINE', derefcnt=1, name='engine')]), 'DSA_print': Function(type='int', derefcnt=0, name='DSA_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='DSA', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='off')]), 'DSA_print_fp': Function(type='int', derefcnt=0, name='DSA_print_fp', args=[Argument(type='FILE', derefcnt=1, name='bp'), Argument(type='DSA', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='off')]), @@ -579,24 +579,24 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'DSAparams_dup': Function(type='DSA', derefcnt=1, name='DSAparams_dup', args=[Argument(type='DSA', derefcnt=1, name='x')]), 'DSAparams_print': Function(type='int', derefcnt=0, name='DSAparams_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='DSA', derefcnt=1, name='x')]), 'DSAparams_print_fp': Function(type='int', derefcnt=0, name='DSAparams_print_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='DSA', derefcnt=1, name='x')]), - 'DTLSv1_client_method': Function(type='SSL_METHOD', derefcnt=1, name='DTLSv1_client_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'DTLSv1_method': Function(type='SSL_METHOD', derefcnt=1, name='DTLSv1_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'DTLSv1_server_method': Function(type='SSL_METHOD', derefcnt=1, name='DTLSv1_server_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ECDH_OpenSSL': Function(type='ECDH_METHOD', derefcnt=1, name='ECDH_OpenSSL', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'DTLSv1_client_method': Function(type='SSL_METHOD', derefcnt=1, name='DTLSv1_client_method', args=[]), + 'DTLSv1_method': Function(type='SSL_METHOD', derefcnt=1, name='DTLSv1_method', args=[]), + 'DTLSv1_server_method': Function(type='SSL_METHOD', derefcnt=1, name='DTLSv1_server_method', args=[]), + 'ECDH_OpenSSL': Function(type='ECDH_METHOD', derefcnt=1, name='ECDH_OpenSSL', args=[]), 'ECDH_compute_key': Function(type='int', derefcnt=0, name='ECDH_compute_key', args=[Argument(type='void', derefcnt=1, name='out'), Argument(type='size_t', derefcnt=0, name='outlen'), Argument(type='EC_POINT', derefcnt=1, name='pub_key'), Argument(type='EC_KEY', derefcnt=1, name='ecdh'), Argument(type='void', derefcnt=1, name='KDF')]), - 'ECDH_get_default_method': Function(type='ECDH_METHOD', derefcnt=1, name='ECDH_get_default_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ECDH_get_default_method': Function(type='ECDH_METHOD', derefcnt=1, name='ECDH_get_default_method', args=[]), 'ECDH_get_ex_data': Function(type='void', derefcnt=1, name='ECDH_get_ex_data', args=[Argument(type='EC_KEY', derefcnt=1, name='d'), Argument(type='int', derefcnt=0, name='idx')]), 'ECDH_get_ex_new_index': Function(type='int', derefcnt=0, name='ECDH_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), 'ECDH_set_default_method': Function(type='void', derefcnt=0, name='ECDH_set_default_method', args=[Argument(type='ECDH_METHOD', derefcnt=1, name='arg0')]), 'ECDH_set_ex_data': Function(type='int', derefcnt=0, name='ECDH_set_ex_data', args=[Argument(type='EC_KEY', derefcnt=1, name='d'), Argument(type='int', derefcnt=0, name='idx'), Argument(type='void', derefcnt=1, name='arg')]), 'ECDH_set_method': Function(type='int', derefcnt=0, name='ECDH_set_method', args=[Argument(type='EC_KEY', derefcnt=1, name='arg0'), Argument(type='ECDH_METHOD', derefcnt=1, name='arg1')]), - 'ECDSA_OpenSSL': Function(type='ECDSA_METHOD', derefcnt=1, name='ECDSA_OpenSSL', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ECDSA_OpenSSL': Function(type='ECDSA_METHOD', derefcnt=1, name='ECDSA_OpenSSL', args=[]), 'ECDSA_SIG_free': Function(type='void', derefcnt=0, name='ECDSA_SIG_free', args=[Argument(type='ECDSA_SIG', derefcnt=1, name='sig')]), - 'ECDSA_SIG_new': Function(type='ECDSA_SIG', derefcnt=1, name='ECDSA_SIG_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ECDSA_SIG_new': Function(type='ECDSA_SIG', derefcnt=1, name='ECDSA_SIG_new', args=[]), 'ECDSA_do_sign': Function(type='ECDSA_SIG', derefcnt=1, name='ECDSA_do_sign', args=[Argument(type='unsigned', derefcnt=1, name='dgst'), Argument(type='int', derefcnt=0, name='dgst_len'), Argument(type='EC_KEY', derefcnt=1, name='eckey')]), 'ECDSA_do_sign_ex': Function(type='ECDSA_SIG', derefcnt=1, name='ECDSA_do_sign_ex', args=[Argument(type='unsigned', derefcnt=1, name='dgst'), Argument(type='int', derefcnt=0, name='dgstlen'), Argument(type='BIGNUM', derefcnt=1, name='kinv'), Argument(type='BIGNUM', derefcnt=1, name='rp'), Argument(type='EC_KEY', derefcnt=1, name='eckey')]), 'ECDSA_do_verify': Function(type='int', derefcnt=0, name='ECDSA_do_verify', args=[Argument(type='unsigned', derefcnt=1, name='dgst'), Argument(type='int', derefcnt=0, name='dgst_len'), Argument(type='ECDSA_SIG', derefcnt=1, name='sig'), Argument(type='EC_KEY', derefcnt=1, name='eckey')]), - 'ECDSA_get_default_method': Function(type='ECDSA_METHOD', derefcnt=1, name='ECDSA_get_default_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ECDSA_get_default_method': Function(type='ECDSA_METHOD', derefcnt=1, name='ECDSA_get_default_method', args=[]), 'ECDSA_get_ex_data': Function(type='void', derefcnt=1, name='ECDSA_get_ex_data', args=[Argument(type='EC_KEY', derefcnt=1, name='d'), Argument(type='int', derefcnt=0, name='idx')]), 'ECDSA_get_ex_new_index': Function(type='int', derefcnt=0, name='ECDSA_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), 'ECDSA_set_default_method': Function(type='void', derefcnt=0, name='ECDSA_set_default_method', args=[Argument(type='ECDSA_METHOD', derefcnt=1, name='meth')]), @@ -611,13 +611,13 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ECPKParameters_print_fp': Function(type='int', derefcnt=0, name='ECPKParameters_print_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='EC_GROUP', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='off')]), 'ECParameters_print': Function(type='int', derefcnt=0, name='ECParameters_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='EC_KEY', derefcnt=1, name='key')]), 'ECParameters_print_fp': Function(type='int', derefcnt=0, name='ECParameters_print_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='EC_KEY', derefcnt=1, name='key')]), - 'EC_GF2m_simple_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GF2m_simple_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EC_GFp_mont_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_mont_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EC_GFp_nist_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nist_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EC_GFp_nistp224_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nistp224_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EC_GFp_nistp256_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nistp256_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EC_GFp_nistp521_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nistp521_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EC_GFp_simple_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_simple_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EC_GF2m_simple_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GF2m_simple_method', args=[]), + 'EC_GFp_mont_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_mont_method', args=[]), + 'EC_GFp_nist_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nist_method', args=[]), + 'EC_GFp_nistp224_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nistp224_method', args=[]), + 'EC_GFp_nistp256_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nistp256_method', args=[]), + 'EC_GFp_nistp521_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_nistp521_method', args=[]), + 'EC_GFp_simple_method': Function(type='EC_METHOD', derefcnt=1, name='EC_GFp_simple_method', args=[]), 'EC_GROUP_check': Function(type='int', derefcnt=0, name='EC_GROUP_check', args=[Argument(type='EC_GROUP', derefcnt=1, name='group'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'EC_GROUP_check_discriminant': Function(type='int', derefcnt=0, name='EC_GROUP_check_discriminant', args=[Argument(type='EC_GROUP', derefcnt=1, name='group'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'EC_GROUP_clear_free': Function(type='void', derefcnt=0, name='EC_GROUP_clear_free', args=[Argument(type='EC_GROUP', derefcnt=1, name='group')]), @@ -667,7 +667,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EC_KEY_get_flags': Function(type='int', derefcnt=0, name='EC_KEY_get_flags', args=[Argument(type='EC_KEY', derefcnt=1, name='key')]), 'EC_KEY_get_key_method_data': Function(type='void', derefcnt=1, name='EC_KEY_get_key_method_data', args=[Argument(type='EC_KEY', derefcnt=1, name='key'), Argument(type='void', derefcnt=1, name='dup_func'), Argument(type='void', derefcnt=0, name='free_func'), Argument(type='void', derefcnt=0, name='clear_free_func')]), 'EC_KEY_insert_key_method_data': Function(type='void', derefcnt=1, name='EC_KEY_insert_key_method_data', args=[Argument(type='EC_KEY', derefcnt=1, name='key'), Argument(type='void', derefcnt=1, name='data'), Argument(type='void', derefcnt=1, name='dup_func'), Argument(type='void', derefcnt=0, name='free_func'), Argument(type='void', derefcnt=0, name='clear_free_func')]), - 'EC_KEY_new': Function(type='EC_KEY', derefcnt=1, name='EC_KEY_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EC_KEY_new': Function(type='EC_KEY', derefcnt=1, name='EC_KEY_new', args=[]), 'EC_KEY_new_by_curve_name': Function(type='EC_KEY', derefcnt=1, name='EC_KEY_new_by_curve_name', args=[Argument(type='int', derefcnt=0, name='nid')]), 'EC_KEY_precompute_mult': Function(type='int', derefcnt=0, name='EC_KEY_precompute_mult', args=[Argument(type='EC_KEY', derefcnt=1, name='key'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'EC_KEY_print': Function(type='int', derefcnt=0, name='EC_KEY_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='EC_KEY', derefcnt=1, name='key'), Argument(type='int', derefcnt=0, name='off')]), @@ -714,24 +714,24 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EC_POINTs_make_affine': Function(type='int', derefcnt=0, name='EC_POINTs_make_affine', args=[Argument(type='EC_GROUP', derefcnt=1, name='group'), Argument(type='size_t', derefcnt=0, name='num'), Argument(type='EC_POINT', derefcnt=2, name='points'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'EC_POINTs_mul': Function(type='int', derefcnt=0, name='EC_POINTs_mul', args=[Argument(type='EC_GROUP', derefcnt=1, name='group'), Argument(type='EC_POINT', derefcnt=1, name='r'), Argument(type='BIGNUM', derefcnt=1, name='n'), Argument(type='size_t', derefcnt=0, name='num'), Argument(type='EC_POINT', derefcnt=2, name='p'), Argument(type='BIGNUM', derefcnt=2, name='m'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), 'EC_get_builtin_curves': Function(type='size_t', derefcnt=0, name='EC_get_builtin_curves', args=[Argument(type='EC_builtin_curve', derefcnt=1, name='r'), Argument(type='size_t', derefcnt=0, name='nitems')]), - 'ERR_load_ASN1_strings': Function(type='void', derefcnt=0, name='ERR_load_ASN1_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_BIO_strings': Function(type='void', derefcnt=0, name='ERR_load_BIO_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_BN_strings': Function(type='void', derefcnt=0, name='ERR_load_BN_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_BUF_strings': Function(type='void', derefcnt=0, name='ERR_load_BUF_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_COMP_strings': Function(type='void', derefcnt=0, name='ERR_load_COMP_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_CRYPTO_strings': Function(type='void', derefcnt=0, name='ERR_load_CRYPTO_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_DH_strings': Function(type='void', derefcnt=0, name='ERR_load_DH_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_DSA_strings': Function(type='void', derefcnt=0, name='ERR_load_DSA_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_ECDH_strings': Function(type='void', derefcnt=0, name='ERR_load_ECDH_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_ECDSA_strings': Function(type='void', derefcnt=0, name='ERR_load_ECDSA_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_EC_strings': Function(type='void', derefcnt=0, name='ERR_load_EC_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_EVP_strings': Function(type='void', derefcnt=0, name='ERR_load_EVP_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_OBJ_strings': Function(type='void', derefcnt=0, name='ERR_load_OBJ_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_PEM_strings': Function(type='void', derefcnt=0, name='ERR_load_PEM_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_PKCS7_strings': Function(type='void', derefcnt=0, name='ERR_load_PKCS7_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_RSA_strings': Function(type='void', derefcnt=0, name='ERR_load_RSA_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_SSL_strings': Function(type='void', derefcnt=0, name='ERR_load_SSL_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ERR_load_X509_strings': Function(type='void', derefcnt=0, name='ERR_load_X509_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ERR_load_ASN1_strings': Function(type='void', derefcnt=0, name='ERR_load_ASN1_strings', args=[]), + 'ERR_load_BIO_strings': Function(type='void', derefcnt=0, name='ERR_load_BIO_strings', args=[]), + 'ERR_load_BN_strings': Function(type='void', derefcnt=0, name='ERR_load_BN_strings', args=[]), + 'ERR_load_BUF_strings': Function(type='void', derefcnt=0, name='ERR_load_BUF_strings', args=[]), + 'ERR_load_COMP_strings': Function(type='void', derefcnt=0, name='ERR_load_COMP_strings', args=[]), + 'ERR_load_CRYPTO_strings': Function(type='void', derefcnt=0, name='ERR_load_CRYPTO_strings', args=[]), + 'ERR_load_DH_strings': Function(type='void', derefcnt=0, name='ERR_load_DH_strings', args=[]), + 'ERR_load_DSA_strings': Function(type='void', derefcnt=0, name='ERR_load_DSA_strings', args=[]), + 'ERR_load_ECDH_strings': Function(type='void', derefcnt=0, name='ERR_load_ECDH_strings', args=[]), + 'ERR_load_ECDSA_strings': Function(type='void', derefcnt=0, name='ERR_load_ECDSA_strings', args=[]), + 'ERR_load_EC_strings': Function(type='void', derefcnt=0, name='ERR_load_EC_strings', args=[]), + 'ERR_load_EVP_strings': Function(type='void', derefcnt=0, name='ERR_load_EVP_strings', args=[]), + 'ERR_load_OBJ_strings': Function(type='void', derefcnt=0, name='ERR_load_OBJ_strings', args=[]), + 'ERR_load_PEM_strings': Function(type='void', derefcnt=0, name='ERR_load_PEM_strings', args=[]), + 'ERR_load_PKCS7_strings': Function(type='void', derefcnt=0, name='ERR_load_PKCS7_strings', args=[]), + 'ERR_load_RSA_strings': Function(type='void', derefcnt=0, name='ERR_load_RSA_strings', args=[]), + 'ERR_load_SSL_strings': Function(type='void', derefcnt=0, name='ERR_load_SSL_strings', args=[]), + 'ERR_load_X509_strings': Function(type='void', derefcnt=0, name='ERR_load_X509_strings', args=[]), 'EVP_BytesToKey': Function(type='int', derefcnt=0, name='EVP_BytesToKey', args=[Argument(type='EVP_CIPHER', derefcnt=1, name='type'), Argument(type='EVP_MD', derefcnt=1, name='md'), Argument(type='unsigned', derefcnt=1, name='salt'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='datal'), Argument(type='int', derefcnt=0, name='count'), Argument(type='unsigned', derefcnt=1, name='key'), Argument(type='unsigned', derefcnt=1, name='iv')]), 'EVP_CIPHER_CTX_block_size': Function(type='int', derefcnt=0, name='EVP_CIPHER_CTX_block_size', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx')]), 'EVP_CIPHER_CTX_cipher': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_CIPHER_CTX_cipher', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx')]), @@ -745,7 +745,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EVP_CIPHER_CTX_init': Function(type='void', derefcnt=0, name='EVP_CIPHER_CTX_init', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='a')]), 'EVP_CIPHER_CTX_iv_length': Function(type='int', derefcnt=0, name='EVP_CIPHER_CTX_iv_length', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx')]), 'EVP_CIPHER_CTX_key_length': Function(type='int', derefcnt=0, name='EVP_CIPHER_CTX_key_length', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx')]), - 'EVP_CIPHER_CTX_new': Function(type='EVP_CIPHER_CTX', derefcnt=1, name='EVP_CIPHER_CTX_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_CIPHER_CTX_new': Function(type='EVP_CIPHER_CTX', derefcnt=1, name='EVP_CIPHER_CTX_new', args=[]), 'EVP_CIPHER_CTX_nid': Function(type='int', derefcnt=0, name='EVP_CIPHER_CTX_nid', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx')]), 'EVP_CIPHER_CTX_rand_key': Function(type='int', derefcnt=0, name='EVP_CIPHER_CTX_rand_key', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx'), Argument(type='unsigned', derefcnt=1, name='key')]), 'EVP_CIPHER_CTX_set_app_data': Function(type='void', derefcnt=0, name='EVP_CIPHER_CTX_set_app_data', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx'), Argument(type='void', derefcnt=1, name='data')]), @@ -803,7 +803,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EVP_MD_CTX_clear_flags': Function(type='void', derefcnt=0, name='EVP_MD_CTX_clear_flags', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='flags')]), 'EVP_MD_CTX_copy': Function(type='int', derefcnt=0, name='EVP_MD_CTX_copy', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='out'), Argument(type='EVP_MD_CTX', derefcnt=1, name='in')]), 'EVP_MD_CTX_copy_ex': Function(type='int', derefcnt=0, name='EVP_MD_CTX_copy_ex', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='out'), Argument(type='EVP_MD_CTX', derefcnt=1, name='in')]), - 'EVP_MD_CTX_create': Function(type='EVP_MD_CTX', derefcnt=1, name='EVP_MD_CTX_create', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_MD_CTX_create': Function(type='EVP_MD_CTX', derefcnt=1, name='EVP_MD_CTX_create', args=[]), 'EVP_MD_CTX_destroy': Function(type='void', derefcnt=0, name='EVP_MD_CTX_destroy', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='ctx')]), 'EVP_MD_CTX_init': Function(type='void', derefcnt=0, name='EVP_MD_CTX_init', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='ctx')]), 'EVP_MD_CTX_md': Function(type='EVP_MD', derefcnt=1, name='EVP_MD_CTX_md', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='ctx')]), @@ -822,7 +822,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EVP_PBE_KEYGEN': Function(type='int', derefcnt=0, name='EVP_PBE_KEYGEN', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx'), Argument(type='char', derefcnt=1, name='pass'), Argument(type='int', derefcnt=0, name='passlen'), Argument(type='ASN1_TYPE', derefcnt=1, name='param'), Argument(type='EVP_CIPHER', derefcnt=1, name='cipher'), Argument(type='EVP_MD', derefcnt=1, name='md'), Argument(type='int', derefcnt=0, name='en_de')]), 'EVP_PBE_alg_add': Function(type='int', derefcnt=0, name='EVP_PBE_alg_add', args=[Argument(type='int', derefcnt=0, name='nid'), Argument(type='EVP_CIPHER', derefcnt=1, name='cipher'), Argument(type='EVP_MD', derefcnt=1, name='md'), Argument(type='EVP_PBE_KEYGEN', derefcnt=1, name='keygen')]), 'EVP_PBE_alg_add_type': Function(type='int', derefcnt=0, name='EVP_PBE_alg_add_type', args=[Argument(type='int', derefcnt=0, name='pbe_type'), Argument(type='int', derefcnt=0, name='pbe_nid'), Argument(type='int', derefcnt=0, name='cipher_nid'), Argument(type='int', derefcnt=0, name='md_nid'), Argument(type='EVP_PBE_KEYGEN', derefcnt=1, name='keygen')]), - 'EVP_PBE_cleanup': Function(type='void', derefcnt=0, name='EVP_PBE_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_PBE_cleanup': Function(type='void', derefcnt=0, name='EVP_PBE_cleanup', args=[]), 'EVP_PBE_find': Function(type='int', derefcnt=0, name='EVP_PBE_find', args=[Argument(type='int', derefcnt=0, name='type'), Argument(type='int', derefcnt=0, name='pbe_nid'), Argument(type='int', derefcnt=1, name='pcnid'), Argument(type='int', derefcnt=1, name='pmnid'), Argument(type='EVP_PBE_KEYGEN', derefcnt=2, name='pkeygen')]), 'EVP_PKCS82PKEY': Function(type='EVP_PKEY', derefcnt=1, name='EVP_PKCS82PKEY', args=[Argument(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='p8')]), 'EVP_PKEY2PKCS8': Function(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='EVP_PKEY2PKCS8', args=[Argument(type='EVP_PKEY', derefcnt=1, name='pkey')]), @@ -856,7 +856,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EVP_PKEY_asn1_free': Function(type='void', derefcnt=0, name='EVP_PKEY_asn1_free', args=[Argument(type='EVP_PKEY_ASN1_METHOD', derefcnt=1, name='ameth')]), 'EVP_PKEY_asn1_get0': Function(type='EVP_PKEY_ASN1_METHOD', derefcnt=1, name='EVP_PKEY_asn1_get0', args=[Argument(type='int', derefcnt=0, name='idx')]), 'EVP_PKEY_asn1_get0_info': Function(type='int', derefcnt=0, name='EVP_PKEY_asn1_get0_info', args=[Argument(type='int', derefcnt=1, name='ppkey_id'), Argument(type='int', derefcnt=1, name='pkey_base_id'), Argument(type='int', derefcnt=1, name='ppkey_flags'), Argument(type='char', derefcnt=2, name='pinfo'), Argument(type='char', derefcnt=2, name='ppem_str'), Argument(type='EVP_PKEY_ASN1_METHOD', derefcnt=1, name='ameth')]), - 'EVP_PKEY_asn1_get_count': Function(type='int', derefcnt=0, name='EVP_PKEY_asn1_get_count', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_PKEY_asn1_get_count': Function(type='int', derefcnt=0, name='EVP_PKEY_asn1_get_count', args=[]), 'EVP_PKEY_asn1_new': Function(type='EVP_PKEY_ASN1_METHOD', derefcnt=1, name='EVP_PKEY_asn1_new', args=[Argument(type='int', derefcnt=0, name='id'), Argument(type='int', derefcnt=0, name='flags'), Argument(type='char', derefcnt=1, name='pem_str'), Argument(type='char', derefcnt=1, name='info')]), 'EVP_PKEY_asn1_set_ctrl': Function(type='void', derefcnt=0, name='EVP_PKEY_asn1_set_ctrl', args=[Argument(type='EVP_PKEY_ASN1_METHOD', derefcnt=1, name='ameth'), Argument(type='int', derefcnt=0, name='pkey_ctrl')]), 'EVP_PKEY_asn1_set_free': Function(type='void', derefcnt=0, name='EVP_PKEY_asn1_set_free', args=[Argument(type='EVP_PKEY_ASN1_METHOD', derefcnt=1, name='ameth'), Argument(type='void', derefcnt=0, name='pkey_free')]), @@ -916,7 +916,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EVP_PKEY_meth_set_verify_recover': Function(type='void', derefcnt=0, name='EVP_PKEY_meth_set_verify_recover', args=[Argument(type='EVP_PKEY_METHOD', derefcnt=1, name='pmeth'), Argument(type='int', derefcnt=0, name='verify_recover_init'), Argument(type='int', derefcnt=0, name='verify_recover')]), 'EVP_PKEY_meth_set_verifyctx': Function(type='void', derefcnt=0, name='EVP_PKEY_meth_set_verifyctx', args=[Argument(type='EVP_PKEY_METHOD', derefcnt=1, name='pmeth'), Argument(type='int', derefcnt=0, name='verifyctx_init'), Argument(type='int', derefcnt=0, name='verifyctx')]), 'EVP_PKEY_missing_parameters': Function(type='int', derefcnt=0, name='EVP_PKEY_missing_parameters', args=[Argument(type='EVP_PKEY', derefcnt=1, name='pkey')]), - 'EVP_PKEY_new': Function(type='EVP_PKEY', derefcnt=1, name='EVP_PKEY_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_PKEY_new': Function(type='EVP_PKEY', derefcnt=1, name='EVP_PKEY_new', args=[]), 'EVP_PKEY_new_mac_key': Function(type='EVP_PKEY', derefcnt=1, name='EVP_PKEY_new_mac_key', args=[Argument(type='int', derefcnt=0, name='type'), Argument(type='ENGINE', derefcnt=1, name='e'), Argument(type='unsigned', derefcnt=1, name='key'), Argument(type='int', derefcnt=0, name='keylen')]), 'EVP_PKEY_paramgen': Function(type='int', derefcnt=0, name='EVP_PKEY_paramgen', args=[Argument(type='EVP_PKEY_CTX', derefcnt=1, name='ctx'), Argument(type='EVP_PKEY', derefcnt=2, name='ppkey')]), 'EVP_PKEY_paramgen_init': Function(type='int', derefcnt=0, name='EVP_PKEY_paramgen_init', args=[Argument(type='EVP_PKEY_CTX', derefcnt=1, name='ctx')]), @@ -942,122 +942,122 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'EVP_SealInit': Function(type='int', derefcnt=0, name='EVP_SealInit', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx'), Argument(type='EVP_CIPHER', derefcnt=1, name='type'), Argument(type='unsigned', derefcnt=2, name='ek'), Argument(type='int', derefcnt=1, name='ekl'), Argument(type='unsigned', derefcnt=1, name='iv'), Argument(type='EVP_PKEY', derefcnt=2, name='pubk'), Argument(type='int', derefcnt=0, name='npubk')]), 'EVP_SignFinal': Function(type='int', derefcnt=0, name='EVP_SignFinal', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='ctx'), Argument(type='unsigned', derefcnt=1, name='md'), Argument(type='unsigned', derefcnt=1, name='s'), Argument(type='EVP_PKEY', derefcnt=1, name='pkey')]), 'EVP_VerifyFinal': Function(type='int', derefcnt=0, name='EVP_VerifyFinal', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='ctx'), Argument(type='unsigned', derefcnt=1, name='sigbuf'), Argument(type='unsigned', derefcnt=0, name='siglen'), Argument(type='EVP_PKEY', derefcnt=1, name='pkey')]), - 'EVP_add_alg_module': Function(type='void', derefcnt=0, name='EVP_add_alg_module', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_add_alg_module': Function(type='void', derefcnt=0, name='EVP_add_alg_module', args=[]), 'EVP_add_cipher': Function(type='int', derefcnt=0, name='EVP_add_cipher', args=[Argument(type='EVP_CIPHER', derefcnt=1, name='cipher')]), 'EVP_add_digest': Function(type='int', derefcnt=0, name='EVP_add_digest', args=[Argument(type='EVP_MD', derefcnt=1, name='digest')]), - 'EVP_aes_128_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_cbc_hmac_sha1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cbc_hmac_sha1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_ccm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ccm', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cfb128', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_ctr': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ctr', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_gcm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_gcm', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_128_xts': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_xts', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_ccm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ccm', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cfb128', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_ctr': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ctr', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_gcm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_gcm', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_192_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_cbc_hmac_sha1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cbc_hmac_sha1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_ccm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ccm', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cfb128', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_ctr': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ctr', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_gcm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_gcm', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_aes_256_xts': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_xts', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_bf_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_bf_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_cfb64', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_bf_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_bf_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_128_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_128_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_128_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cfb128', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_128_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_128_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_128_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_192_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_192_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_192_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cfb128', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_192_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_192_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_192_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_256_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_256_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_256_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cfb128', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_256_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_256_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_camellia_256_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_cast5_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_cast5_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_cfb64', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_cast5_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_cast5_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_cleanup': Function(type='void', derefcnt=0, name='EVP_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cfb64', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede3': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede3_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede3_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cfb1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede3_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cfb64', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede3_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cfb8', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede3_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede3_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_cfb64', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ede_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_des_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_desx_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_desx_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_dss': Function(type='EVP_MD', derefcnt=1, name='EVP_dss', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_dss1': Function(type='EVP_MD', derefcnt=1, name='EVP_dss1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_ecdsa': Function(type='EVP_MD', derefcnt=1, name='EVP_ecdsa', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_enc_null': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_enc_null', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_aes_128_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cbc', args=[]), + 'EVP_aes_128_cbc_hmac_sha1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cbc_hmac_sha1', args=[]), + 'EVP_aes_128_ccm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ccm', args=[]), + 'EVP_aes_128_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cfb1', args=[]), + 'EVP_aes_128_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cfb128', args=[]), + 'EVP_aes_128_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_cfb8', args=[]), + 'EVP_aes_128_ctr': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ctr', args=[]), + 'EVP_aes_128_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ecb', args=[]), + 'EVP_aes_128_gcm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_gcm', args=[]), + 'EVP_aes_128_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_ofb', args=[]), + 'EVP_aes_128_xts': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_128_xts', args=[]), + 'EVP_aes_192_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cbc', args=[]), + 'EVP_aes_192_ccm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ccm', args=[]), + 'EVP_aes_192_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cfb1', args=[]), + 'EVP_aes_192_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cfb128', args=[]), + 'EVP_aes_192_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_cfb8', args=[]), + 'EVP_aes_192_ctr': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ctr', args=[]), + 'EVP_aes_192_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ecb', args=[]), + 'EVP_aes_192_gcm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_gcm', args=[]), + 'EVP_aes_192_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_192_ofb', args=[]), + 'EVP_aes_256_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cbc', args=[]), + 'EVP_aes_256_cbc_hmac_sha1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cbc_hmac_sha1', args=[]), + 'EVP_aes_256_ccm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ccm', args=[]), + 'EVP_aes_256_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cfb1', args=[]), + 'EVP_aes_256_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cfb128', args=[]), + 'EVP_aes_256_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_cfb8', args=[]), + 'EVP_aes_256_ctr': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ctr', args=[]), + 'EVP_aes_256_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ecb', args=[]), + 'EVP_aes_256_gcm': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_gcm', args=[]), + 'EVP_aes_256_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_ofb', args=[]), + 'EVP_aes_256_xts': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_aes_256_xts', args=[]), + 'EVP_bf_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_cbc', args=[]), + 'EVP_bf_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_cfb64', args=[]), + 'EVP_bf_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_ecb', args=[]), + 'EVP_bf_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_bf_ofb', args=[]), + 'EVP_camellia_128_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cbc', args=[]), + 'EVP_camellia_128_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cfb1', args=[]), + 'EVP_camellia_128_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cfb128', args=[]), + 'EVP_camellia_128_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_cfb8', args=[]), + 'EVP_camellia_128_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_ecb', args=[]), + 'EVP_camellia_128_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_128_ofb', args=[]), + 'EVP_camellia_192_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cbc', args=[]), + 'EVP_camellia_192_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cfb1', args=[]), + 'EVP_camellia_192_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cfb128', args=[]), + 'EVP_camellia_192_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_cfb8', args=[]), + 'EVP_camellia_192_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_ecb', args=[]), + 'EVP_camellia_192_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_192_ofb', args=[]), + 'EVP_camellia_256_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cbc', args=[]), + 'EVP_camellia_256_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cfb1', args=[]), + 'EVP_camellia_256_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cfb128', args=[]), + 'EVP_camellia_256_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_cfb8', args=[]), + 'EVP_camellia_256_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_ecb', args=[]), + 'EVP_camellia_256_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_camellia_256_ofb', args=[]), + 'EVP_cast5_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_cbc', args=[]), + 'EVP_cast5_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_cfb64', args=[]), + 'EVP_cast5_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_ecb', args=[]), + 'EVP_cast5_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_cast5_ofb', args=[]), + 'EVP_cleanup': Function(type='void', derefcnt=0, name='EVP_cleanup', args=[]), + 'EVP_des_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cbc', args=[]), + 'EVP_des_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cfb1', args=[]), + 'EVP_des_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cfb64', args=[]), + 'EVP_des_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_cfb8', args=[]), + 'EVP_des_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ecb', args=[]), + 'EVP_des_ede': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede', args=[]), + 'EVP_des_ede3': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3', args=[]), + 'EVP_des_ede3_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cbc', args=[]), + 'EVP_des_ede3_cfb1': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cfb1', args=[]), + 'EVP_des_ede3_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cfb64', args=[]), + 'EVP_des_ede3_cfb8': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_cfb8', args=[]), + 'EVP_des_ede3_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_ecb', args=[]), + 'EVP_des_ede3_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede3_ofb', args=[]), + 'EVP_des_ede_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_cbc', args=[]), + 'EVP_des_ede_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_cfb64', args=[]), + 'EVP_des_ede_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_ecb', args=[]), + 'EVP_des_ede_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ede_ofb', args=[]), + 'EVP_des_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_des_ofb', args=[]), + 'EVP_desx_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_desx_cbc', args=[]), + 'EVP_dss': Function(type='EVP_MD', derefcnt=1, name='EVP_dss', args=[]), + 'EVP_dss1': Function(type='EVP_MD', derefcnt=1, name='EVP_dss1', args=[]), + 'EVP_ecdsa': Function(type='EVP_MD', derefcnt=1, name='EVP_ecdsa', args=[]), + 'EVP_enc_null': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_enc_null', args=[]), 'EVP_get_cipherbyname': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_get_cipherbyname', args=[Argument(type='char', derefcnt=1, name='name')]), 'EVP_get_digestbyname': Function(type='EVP_MD', derefcnt=1, name='EVP_get_digestbyname', args=[Argument(type='char', derefcnt=1, name='name')]), - 'EVP_get_pw_prompt': Function(type='char', derefcnt=1, name='EVP_get_pw_prompt', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_md4': Function(type='EVP_MD', derefcnt=1, name='EVP_md4', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_md5': Function(type='EVP_MD', derefcnt=1, name='EVP_md5', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_md_null': Function(type='EVP_MD', derefcnt=1, name='EVP_md_null', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc2_40_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_40_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc2_64_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_64_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc2_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc2_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_cfb64', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc2_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc2_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc4': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc4', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc4_40': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc4_40', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_rc4_hmac_md5': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc4_hmac_md5', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_get_pw_prompt': Function(type='char', derefcnt=1, name='EVP_get_pw_prompt', args=[]), + 'EVP_md4': Function(type='EVP_MD', derefcnt=1, name='EVP_md4', args=[]), + 'EVP_md5': Function(type='EVP_MD', derefcnt=1, name='EVP_md5', args=[]), + 'EVP_md_null': Function(type='EVP_MD', derefcnt=1, name='EVP_md_null', args=[]), + 'EVP_rc2_40_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_40_cbc', args=[]), + 'EVP_rc2_64_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_64_cbc', args=[]), + 'EVP_rc2_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_cbc', args=[]), + 'EVP_rc2_cfb64': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_cfb64', args=[]), + 'EVP_rc2_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_ecb', args=[]), + 'EVP_rc2_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc2_ofb', args=[]), + 'EVP_rc4': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc4', args=[]), + 'EVP_rc4_40': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc4_40', args=[]), + 'EVP_rc4_hmac_md5': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_rc4_hmac_md5', args=[]), 'EVP_read_pw_string': Function(type='int', derefcnt=0, name='EVP_read_pw_string', args=[Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='length'), Argument(type='char', derefcnt=1, name='prompt'), Argument(type='int', derefcnt=0, name='verify')]), 'EVP_read_pw_string_min': Function(type='int', derefcnt=0, name='EVP_read_pw_string_min', args=[Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='minlen'), Argument(type='int', derefcnt=0, name='maxlen'), Argument(type='char', derefcnt=1, name='prompt'), Argument(type='int', derefcnt=0, name='verify')]), - 'EVP_ripemd160': Function(type='EVP_MD', derefcnt=1, name='EVP_ripemd160', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_seed_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_cbc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_seed_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_cfb128', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_seed_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_ecb', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_seed_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_ofb', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_ripemd160': Function(type='EVP_MD', derefcnt=1, name='EVP_ripemd160', args=[]), + 'EVP_seed_cbc': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_cbc', args=[]), + 'EVP_seed_cfb128': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_cfb128', args=[]), + 'EVP_seed_ecb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_ecb', args=[]), + 'EVP_seed_ofb': Function(type='EVP_CIPHER', derefcnt=1, name='EVP_seed_ofb', args=[]), 'EVP_set_pw_prompt': Function(type='void', derefcnt=0, name='EVP_set_pw_prompt', args=[Argument(type='char', derefcnt=1, name='prompt')]), - 'EVP_sha': Function(type='EVP_MD', derefcnt=1, name='EVP_sha', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_sha1': Function(type='EVP_MD', derefcnt=1, name='EVP_sha1', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_sha224': Function(type='EVP_MD', derefcnt=1, name='EVP_sha224', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_sha256': Function(type='EVP_MD', derefcnt=1, name='EVP_sha256', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_sha384': Function(type='EVP_MD', derefcnt=1, name='EVP_sha384', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_sha512': Function(type='EVP_MD', derefcnt=1, name='EVP_sha512', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'EVP_whirlpool': Function(type='EVP_MD', derefcnt=1, name='EVP_whirlpool', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'EVP_sha': Function(type='EVP_MD', derefcnt=1, name='EVP_sha', args=[]), + 'EVP_sha1': Function(type='EVP_MD', derefcnt=1, name='EVP_sha1', args=[]), + 'EVP_sha224': Function(type='EVP_MD', derefcnt=1, name='EVP_sha224', args=[]), + 'EVP_sha256': Function(type='EVP_MD', derefcnt=1, name='EVP_sha256', args=[]), + 'EVP_sha384': Function(type='EVP_MD', derefcnt=1, name='EVP_sha384', args=[]), + 'EVP_sha512': Function(type='EVP_MD', derefcnt=1, name='EVP_sha512', args=[]), + 'EVP_whirlpool': Function(type='EVP_MD', derefcnt=1, name='EVP_whirlpool', args=[]), 'Exit': Function(type='void', derefcnt=0, name='Exit', args=[Argument(type='int', derefcnt=0, name='status')]), - 'FIPS_mode': Function(type='int', derefcnt=0, name='FIPS_mode', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'FIPS_mode': Function(type='int', derefcnt=0, name='FIPS_mode', args=[]), 'FIPS_mode_set': Function(type='int', derefcnt=0, name='FIPS_mode_set', args=[Argument(type='int', derefcnt=0, name='r')]), 'GEN_SESSION_CB': Function(type='int', derefcnt=0, name='GEN_SESSION_CB', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='unsigned', derefcnt=1, name='id'), Argument(type='unsigned', derefcnt=1, name='id_len')]), 'HMAC': Function(type='unsigned', derefcnt=1, name='HMAC', args=[Argument(type='EVP_MD', derefcnt=1, name='evp_md'), Argument(type='void', derefcnt=1, name='key'), Argument(type='int', derefcnt=0, name='key_len'), Argument(type='unsigned', derefcnt=1, name='d'), Argument(type='size_t', derefcnt=0, name='n'), Argument(type='unsigned', derefcnt=1, name='md'), Argument(type='unsigned', derefcnt=1, name='md_len')]), @@ -1090,33 +1090,33 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'LHASH_DOALL_FN_TYPE': Function(type='void', derefcnt=0, name='LHASH_DOALL_FN_TYPE', args=[Argument(type='void', derefcnt=1, name='arg0')]), 'LHASH_HASH_FN_TYPE': Function(type='unsigned', derefcnt=0, name='LHASH_HASH_FN_TYPE', args=[Argument(type='void', derefcnt=1, name='arg0')]), 'NETSCAPE_CERT_SEQUENCE_free': Function(type='void', derefcnt=0, name='NETSCAPE_CERT_SEQUENCE_free', args=[Argument(type='NETSCAPE_CERT_SEQUENCE', derefcnt=1, name='a')]), - 'NETSCAPE_CERT_SEQUENCE_new': Function(type='NETSCAPE_CERT_SEQUENCE', derefcnt=1, name='NETSCAPE_CERT_SEQUENCE_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'NETSCAPE_CERT_SEQUENCE_new': Function(type='NETSCAPE_CERT_SEQUENCE', derefcnt=1, name='NETSCAPE_CERT_SEQUENCE_new', args=[]), 'NETSCAPE_SPKAC_free': Function(type='void', derefcnt=0, name='NETSCAPE_SPKAC_free', args=[Argument(type='NETSCAPE_SPKAC', derefcnt=1, name='a')]), - 'NETSCAPE_SPKAC_new': Function(type='NETSCAPE_SPKAC', derefcnt=1, name='NETSCAPE_SPKAC_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'NETSCAPE_SPKAC_new': Function(type='NETSCAPE_SPKAC', derefcnt=1, name='NETSCAPE_SPKAC_new', args=[]), 'NETSCAPE_SPKI_b64_decode': Function(type='NETSCAPE_SPKI', derefcnt=1, name='NETSCAPE_SPKI_b64_decode', args=[Argument(type='char', derefcnt=1, name='str'), Argument(type='int', derefcnt=0, name='len')]), 'NETSCAPE_SPKI_b64_encode': Function(type='char', derefcnt=1, name='NETSCAPE_SPKI_b64_encode', args=[Argument(type='NETSCAPE_SPKI', derefcnt=1, name='x')]), 'NETSCAPE_SPKI_free': Function(type='void', derefcnt=0, name='NETSCAPE_SPKI_free', args=[Argument(type='NETSCAPE_SPKI', derefcnt=1, name='a')]), 'NETSCAPE_SPKI_get_pubkey': Function(type='EVP_PKEY', derefcnt=1, name='NETSCAPE_SPKI_get_pubkey', args=[Argument(type='NETSCAPE_SPKI', derefcnt=1, name='x')]), - 'NETSCAPE_SPKI_new': Function(type='NETSCAPE_SPKI', derefcnt=1, name='NETSCAPE_SPKI_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'NETSCAPE_SPKI_new': Function(type='NETSCAPE_SPKI', derefcnt=1, name='NETSCAPE_SPKI_new', args=[]), 'NETSCAPE_SPKI_print': Function(type='int', derefcnt=0, name='NETSCAPE_SPKI_print', args=[Argument(type='BIO', derefcnt=1, name='out'), Argument(type='NETSCAPE_SPKI', derefcnt=1, name='spki')]), 'NETSCAPE_SPKI_set_pubkey': Function(type='int', derefcnt=0, name='NETSCAPE_SPKI_set_pubkey', args=[Argument(type='NETSCAPE_SPKI', derefcnt=1, name='x'), Argument(type='EVP_PKEY', derefcnt=1, name='pkey')]), 'NETSCAPE_SPKI_sign': Function(type='int', derefcnt=0, name='NETSCAPE_SPKI_sign', args=[Argument(type='NETSCAPE_SPKI', derefcnt=1, name='x'), Argument(type='EVP_PKEY', derefcnt=1, name='pkey'), Argument(type='EVP_MD', derefcnt=1, name='md')]), 'NETSCAPE_SPKI_verify': Function(type='int', derefcnt=0, name='NETSCAPE_SPKI_verify', args=[Argument(type='NETSCAPE_SPKI', derefcnt=1, name='a'), Argument(type='EVP_PKEY', derefcnt=1, name='r')]), 'NETSCAPE_X509_free': Function(type='void', derefcnt=0, name='NETSCAPE_X509_free', args=[Argument(type='NETSCAPE_X509', derefcnt=1, name='a')]), - 'NETSCAPE_X509_new': Function(type='NETSCAPE_X509', derefcnt=1, name='NETSCAPE_X509_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'NETSCAPE_X509_new': Function(type='NETSCAPE_X509', derefcnt=1, name='NETSCAPE_X509_new', args=[]), 'OBJ_NAME_add': Function(type='int', derefcnt=0, name='OBJ_NAME_add', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='type'), Argument(type='char', derefcnt=1, name='data')]), 'OBJ_NAME_cleanup': Function(type='void', derefcnt=0, name='OBJ_NAME_cleanup', args=[Argument(type='int', derefcnt=0, name='type')]), 'OBJ_NAME_do_all': Function(type='void', derefcnt=0, name='OBJ_NAME_do_all', args=[Argument(type='int', derefcnt=0, name='type'), Argument(type='void', derefcnt=0, name='fn'), Argument(type='void', derefcnt=1, name='arg')]), 'OBJ_NAME_do_all_sorted': Function(type='void', derefcnt=0, name='OBJ_NAME_do_all_sorted', args=[Argument(type='int', derefcnt=0, name='type'), Argument(type='void', derefcnt=0, name='fn'), Argument(type='void', derefcnt=1, name='arg')]), 'OBJ_NAME_get': Function(type='char', derefcnt=1, name='OBJ_NAME_get', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='type')]), - 'OBJ_NAME_init': Function(type='int', derefcnt=0, name='OBJ_NAME_init', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'OBJ_NAME_init': Function(type='int', derefcnt=0, name='OBJ_NAME_init', args=[]), 'OBJ_NAME_new_index': Function(type='int', derefcnt=0, name='OBJ_NAME_new_index', args=[Argument(type='unsigned', derefcnt=0, name='hash_func'), Argument(type='int', derefcnt=0, name='cmp_func'), Argument(type='void', derefcnt=0, name='free_func')]), 'OBJ_NAME_remove': Function(type='int', derefcnt=0, name='OBJ_NAME_remove', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='type')]), 'OBJ_add_object': Function(type='int', derefcnt=0, name='OBJ_add_object', args=[Argument(type='ASN1_OBJECT', derefcnt=1, name='obj')]), 'OBJ_add_sigid': Function(type='int', derefcnt=0, name='OBJ_add_sigid', args=[Argument(type='int', derefcnt=0, name='signid'), Argument(type='int', derefcnt=0, name='dig_id'), Argument(type='int', derefcnt=0, name='pkey_id')]), 'OBJ_bsearch_': Function(type='void', derefcnt=1, name='OBJ_bsearch_', args=[Argument(type='void', derefcnt=1, name='key'), Argument(type='void', derefcnt=1, name='base'), Argument(type='int', derefcnt=0, name='num'), Argument(type='int', derefcnt=0, name='size'), Argument(type='int', derefcnt=0, name='cmp')]), 'OBJ_bsearch_ex_': Function(type='void', derefcnt=1, name='OBJ_bsearch_ex_', args=[Argument(type='void', derefcnt=1, name='key'), Argument(type='void', derefcnt=1, name='base'), Argument(type='int', derefcnt=0, name='num'), Argument(type='int', derefcnt=0, name='size'), Argument(type='int', derefcnt=0, name='cmp'), Argument(type='int', derefcnt=0, name='flags')]), - 'OBJ_cleanup': Function(type='void', derefcnt=0, name='OBJ_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'OBJ_cleanup': Function(type='void', derefcnt=0, name='OBJ_cleanup', args=[]), 'OBJ_cmp': Function(type='int', derefcnt=0, name='OBJ_cmp', args=[Argument(type='ASN1_OBJECT', derefcnt=1, name='a'), Argument(type='ASN1_OBJECT', derefcnt=1, name='b')]), 'OBJ_create': Function(type='int', derefcnt=0, name='OBJ_create', args=[Argument(type='char', derefcnt=1, name='oid'), Argument(type='char', derefcnt=1, name='sn'), Argument(type='char', derefcnt=1, name='ln')]), 'OBJ_create_objects': Function(type='int', derefcnt=0, name='OBJ_create_objects', args=[Argument(type='BIO', derefcnt=1, name='in')]), @@ -1130,26 +1130,26 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'OBJ_nid2sn': Function(type='char', derefcnt=1, name='OBJ_nid2sn', args=[Argument(type='int', derefcnt=0, name='n')]), 'OBJ_obj2nid': Function(type='int', derefcnt=0, name='OBJ_obj2nid', args=[Argument(type='ASN1_OBJECT', derefcnt=1, name='o')]), 'OBJ_obj2txt': Function(type='int', derefcnt=0, name='OBJ_obj2txt', args=[Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='buf_len'), Argument(type='ASN1_OBJECT', derefcnt=1, name='a'), Argument(type='int', derefcnt=0, name='no_name')]), - 'OBJ_sigid_free': Function(type='void', derefcnt=0, name='OBJ_sigid_free', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'OBJ_sigid_free': Function(type='void', derefcnt=0, name='OBJ_sigid_free', args=[]), 'OBJ_sn2nid': Function(type='int', derefcnt=0, name='OBJ_sn2nid', args=[Argument(type='char', derefcnt=1, name='s')]), 'OBJ_txt2nid': Function(type='int', derefcnt=0, name='OBJ_txt2nid', args=[Argument(type='char', derefcnt=1, name='s')]), 'OBJ_txt2obj': Function(type='ASN1_OBJECT', derefcnt=1, name='OBJ_txt2obj', args=[Argument(type='char', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='no_name')]), - 'OPENSSL_add_all_algorithms_conf': Function(type='void', derefcnt=0, name='OPENSSL_add_all_algorithms_conf', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'OPENSSL_add_all_algorithms_noconf': Function(type='void', derefcnt=0, name='OPENSSL_add_all_algorithms_noconf', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'OPENSSL_add_all_algorithms_conf': Function(type='void', derefcnt=0, name='OPENSSL_add_all_algorithms_conf', args=[]), + 'OPENSSL_add_all_algorithms_noconf': Function(type='void', derefcnt=0, name='OPENSSL_add_all_algorithms_noconf', args=[]), 'OPENSSL_cleanse': Function(type='void', derefcnt=0, name='OPENSSL_cleanse', args=[Argument(type='void', derefcnt=1, name='ptr'), Argument(type='size_t', derefcnt=0, name='len')]), - 'OPENSSL_ia32cap_loc': Function(type='unsigned', derefcnt=1, name='OPENSSL_ia32cap_loc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'OPENSSL_init': Function(type='void', derefcnt=0, name='OPENSSL_init', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'OPENSSL_isservice': Function(type='int', derefcnt=0, name='OPENSSL_isservice', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'OPENSSL_issetugid': Function(type='int', derefcnt=0, name='OPENSSL_issetugid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'OPENSSL_ia32cap_loc': Function(type='unsigned', derefcnt=1, name='OPENSSL_ia32cap_loc', args=[]), + 'OPENSSL_init': Function(type='void', derefcnt=0, name='OPENSSL_init', args=[]), + 'OPENSSL_isservice': Function(type='int', derefcnt=0, name='OPENSSL_isservice', args=[]), + 'OPENSSL_issetugid': Function(type='int', derefcnt=0, name='OPENSSL_issetugid', args=[]), 'OpenSSLDie': Function(type='void', derefcnt=0, name='OpenSSLDie', args=[Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='line'), Argument(type='char', derefcnt=1, name='assertion')]), - 'OpenSSL_add_all_ciphers': Function(type='void', derefcnt=0, name='OpenSSL_add_all_ciphers', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'OpenSSL_add_all_digests': Function(type='void', derefcnt=0, name='OpenSSL_add_all_digests', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'OpenSSL_add_all_ciphers': Function(type='void', derefcnt=0, name='OpenSSL_add_all_ciphers', args=[]), + 'OpenSSL_add_all_digests': Function(type='void', derefcnt=0, name='OpenSSL_add_all_digests', args=[]), 'PBE2PARAM_free': Function(type='void', derefcnt=0, name='PBE2PARAM_free', args=[Argument(type='PBE2PARAM', derefcnt=1, name='a')]), - 'PBE2PARAM_new': Function(type='PBE2PARAM', derefcnt=1, name='PBE2PARAM_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PBE2PARAM_new': Function(type='PBE2PARAM', derefcnt=1, name='PBE2PARAM_new', args=[]), 'PBEPARAM_free': Function(type='void', derefcnt=0, name='PBEPARAM_free', args=[Argument(type='PBEPARAM', derefcnt=1, name='a')]), - 'PBEPARAM_new': Function(type='PBEPARAM', derefcnt=1, name='PBEPARAM_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PBEPARAM_new': Function(type='PBEPARAM', derefcnt=1, name='PBEPARAM_new', args=[]), 'PBKDF2PARAM_free': Function(type='void', derefcnt=0, name='PBKDF2PARAM_free', args=[Argument(type='PBKDF2PARAM', derefcnt=1, name='a')]), - 'PBKDF2PARAM_new': Function(type='PBKDF2PARAM', derefcnt=1, name='PBKDF2PARAM_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PBKDF2PARAM_new': Function(type='PBKDF2PARAM', derefcnt=1, name='PBKDF2PARAM_new', args=[]), 'PEM_ASN1_read': Function(type='void', derefcnt=1, name='PEM_ASN1_read', args=[Argument(type='d2i_of_void', derefcnt=1, name='d2i'), Argument(type='char', derefcnt=1, name='name'), Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='void', derefcnt=2, name='x'), Argument(type='pem_password_cb', derefcnt=1, name='cb'), Argument(type='void', derefcnt=1, name='u')]), 'PEM_ASN1_read_bio': Function(type='void', derefcnt=1, name='PEM_ASN1_read_bio', args=[Argument(type='d2i_of_void', derefcnt=1, name='d2i'), Argument(type='char', derefcnt=1, name='name'), Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='void', derefcnt=2, name='x'), Argument(type='pem_password_cb', derefcnt=1, name='cb'), Argument(type='void', derefcnt=1, name='u')]), 'PEM_ASN1_write': Function(type='int', derefcnt=0, name='PEM_ASN1_write', args=[Argument(type='i2d_of_void', derefcnt=1, name='i2d'), Argument(type='char', derefcnt=1, name='name'), Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='void', derefcnt=1, name='x'), Argument(type='EVP_CIPHER', derefcnt=1, name='enc'), Argument(type='unsigned', derefcnt=1, name='kstr'), Argument(type='int', derefcnt=0, name='klen'), Argument(type='pem_password_cb', derefcnt=1, name='callback'), Argument(type='void', derefcnt=1, name='u')]), @@ -1272,7 +1272,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'PEM_write_bio_X509_REQ': Function(type='int', derefcnt=0, name='PEM_write_bio_X509_REQ', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509_REQ', derefcnt=1, name='x')]), 'PEM_write_bio_X509_REQ_NEW': Function(type='int', derefcnt=0, name='PEM_write_bio_X509_REQ_NEW', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509_REQ', derefcnt=1, name='x')]), 'PKCS1_MGF1': Function(type='int', derefcnt=0, name='PKCS1_MGF1', args=[Argument(type='unsigned', derefcnt=1, name='mask'), Argument(type='long', derefcnt=0, name='len'), Argument(type='unsigned', derefcnt=1, name='seed'), Argument(type='long', derefcnt=0, name='seedlen'), Argument(type='EVP_MD', derefcnt=1, name='dgst')]), - 'PKCS5_PBE_add': Function(type='void', derefcnt=0, name='PKCS5_PBE_add', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS5_PBE_add': Function(type='void', derefcnt=0, name='PKCS5_PBE_add', args=[]), 'PKCS5_PBE_keyivgen': Function(type='int', derefcnt=0, name='PKCS5_PBE_keyivgen', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx'), Argument(type='char', derefcnt=1, name='pass'), Argument(type='int', derefcnt=0, name='passlen'), Argument(type='ASN1_TYPE', derefcnt=1, name='param'), Argument(type='EVP_CIPHER', derefcnt=1, name='cipher'), Argument(type='EVP_MD', derefcnt=1, name='md'), Argument(type='int', derefcnt=0, name='en_de')]), 'PKCS5_PBKDF2_HMAC': Function(type='int', derefcnt=0, name='PKCS5_PBKDF2_HMAC', args=[Argument(type='char', derefcnt=1, name='pass'), Argument(type='int', derefcnt=0, name='passlen'), Argument(type='unsigned', derefcnt=1, name='salt'), Argument(type='int', derefcnt=0, name='saltlen'), Argument(type='int', derefcnt=0, name='iter'), Argument(type='EVP_MD', derefcnt=1, name='digest'), Argument(type='int', derefcnt=0, name='keylen'), Argument(type='unsigned', derefcnt=1, name='out')]), 'PKCS5_PBKDF2_HMAC_SHA1': Function(type='int', derefcnt=0, name='PKCS5_PBKDF2_HMAC_SHA1', args=[Argument(type='char', derefcnt=1, name='pass'), Argument(type='int', derefcnt=0, name='passlen'), Argument(type='unsigned', derefcnt=1, name='salt'), Argument(type='int', derefcnt=0, name='saltlen'), Argument(type='int', derefcnt=0, name='iter'), Argument(type='int', derefcnt=0, name='keylen'), Argument(type='unsigned', derefcnt=1, name='out')]), @@ -1283,29 +1283,29 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'PKCS5_pbkdf2_set': Function(type='X509_ALGOR', derefcnt=1, name='PKCS5_pbkdf2_set', args=[Argument(type='int', derefcnt=0, name='iter'), Argument(type='unsigned', derefcnt=1, name='salt'), Argument(type='int', derefcnt=0, name='saltlen'), Argument(type='int', derefcnt=0, name='prf_nid'), Argument(type='int', derefcnt=0, name='keylen')]), 'PKCS5_v2_PBE_keyivgen': Function(type='int', derefcnt=0, name='PKCS5_v2_PBE_keyivgen', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx'), Argument(type='char', derefcnt=1, name='pass'), Argument(type='int', derefcnt=0, name='passlen'), Argument(type='ASN1_TYPE', derefcnt=1, name='param'), Argument(type='EVP_CIPHER', derefcnt=1, name='cipher'), Argument(type='EVP_MD', derefcnt=1, name='md'), Argument(type='int', derefcnt=0, name='en_de')]), 'PKCS7_DIGEST_free': Function(type='void', derefcnt=0, name='PKCS7_DIGEST_free', args=[Argument(type='PKCS7_DIGEST', derefcnt=1, name='a')]), - 'PKCS7_DIGEST_new': Function(type='PKCS7_DIGEST', derefcnt=1, name='PKCS7_DIGEST_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_DIGEST_new': Function(type='PKCS7_DIGEST', derefcnt=1, name='PKCS7_DIGEST_new', args=[]), 'PKCS7_ENCRYPT_free': Function(type='void', derefcnt=0, name='PKCS7_ENCRYPT_free', args=[Argument(type='PKCS7_ENCRYPT', derefcnt=1, name='a')]), - 'PKCS7_ENCRYPT_new': Function(type='PKCS7_ENCRYPT', derefcnt=1, name='PKCS7_ENCRYPT_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_ENCRYPT_new': Function(type='PKCS7_ENCRYPT', derefcnt=1, name='PKCS7_ENCRYPT_new', args=[]), 'PKCS7_ENC_CONTENT_free': Function(type='void', derefcnt=0, name='PKCS7_ENC_CONTENT_free', args=[Argument(type='PKCS7_ENC_CONTENT', derefcnt=1, name='a')]), - 'PKCS7_ENC_CONTENT_new': Function(type='PKCS7_ENC_CONTENT', derefcnt=1, name='PKCS7_ENC_CONTENT_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_ENC_CONTENT_new': Function(type='PKCS7_ENC_CONTENT', derefcnt=1, name='PKCS7_ENC_CONTENT_new', args=[]), 'PKCS7_ENVELOPE_free': Function(type='void', derefcnt=0, name='PKCS7_ENVELOPE_free', args=[Argument(type='PKCS7_ENVELOPE', derefcnt=1, name='a')]), - 'PKCS7_ENVELOPE_new': Function(type='PKCS7_ENVELOPE', derefcnt=1, name='PKCS7_ENVELOPE_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_ENVELOPE_new': Function(type='PKCS7_ENVELOPE', derefcnt=1, name='PKCS7_ENVELOPE_new', args=[]), 'PKCS7_ISSUER_AND_SERIAL_digest': Function(type='int', derefcnt=0, name='PKCS7_ISSUER_AND_SERIAL_digest', args=[Argument(type='PKCS7_ISSUER_AND_SERIAL', derefcnt=1, name='data'), Argument(type='EVP_MD', derefcnt=1, name='type'), Argument(type='unsigned', derefcnt=1, name='md'), Argument(type='unsigned', derefcnt=1, name='len')]), 'PKCS7_ISSUER_AND_SERIAL_free': Function(type='void', derefcnt=0, name='PKCS7_ISSUER_AND_SERIAL_free', args=[Argument(type='PKCS7_ISSUER_AND_SERIAL', derefcnt=1, name='a')]), - 'PKCS7_ISSUER_AND_SERIAL_new': Function(type='PKCS7_ISSUER_AND_SERIAL', derefcnt=1, name='PKCS7_ISSUER_AND_SERIAL_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_ISSUER_AND_SERIAL_new': Function(type='PKCS7_ISSUER_AND_SERIAL', derefcnt=1, name='PKCS7_ISSUER_AND_SERIAL_new', args=[]), 'PKCS7_RECIP_INFO_free': Function(type='void', derefcnt=0, name='PKCS7_RECIP_INFO_free', args=[Argument(type='PKCS7_RECIP_INFO', derefcnt=1, name='a')]), 'PKCS7_RECIP_INFO_get0_alg': Function(type='void', derefcnt=0, name='PKCS7_RECIP_INFO_get0_alg', args=[Argument(type='PKCS7_RECIP_INFO', derefcnt=1, name='ri'), Argument(type='X509_ALGOR', derefcnt=2, name='penc')]), - 'PKCS7_RECIP_INFO_new': Function(type='PKCS7_RECIP_INFO', derefcnt=1, name='PKCS7_RECIP_INFO_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_RECIP_INFO_new': Function(type='PKCS7_RECIP_INFO', derefcnt=1, name='PKCS7_RECIP_INFO_new', args=[]), 'PKCS7_RECIP_INFO_set': Function(type='int', derefcnt=0, name='PKCS7_RECIP_INFO_set', args=[Argument(type='PKCS7_RECIP_INFO', derefcnt=1, name='p7i'), Argument(type='X509', derefcnt=1, name='x509')]), 'PKCS7_SIGNED_free': Function(type='void', derefcnt=0, name='PKCS7_SIGNED_free', args=[Argument(type='PKCS7_SIGNED', derefcnt=1, name='a')]), - 'PKCS7_SIGNED_new': Function(type='PKCS7_SIGNED', derefcnt=1, name='PKCS7_SIGNED_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_SIGNED_new': Function(type='PKCS7_SIGNED', derefcnt=1, name='PKCS7_SIGNED_new', args=[]), 'PKCS7_SIGNER_INFO_free': Function(type='void', derefcnt=0, name='PKCS7_SIGNER_INFO_free', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='a')]), 'PKCS7_SIGNER_INFO_get0_algs': Function(type='void', derefcnt=0, name='PKCS7_SIGNER_INFO_get0_algs', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='si'), Argument(type='EVP_PKEY', derefcnt=2, name='pk'), Argument(type='X509_ALGOR', derefcnt=2, name='pdig'), Argument(type='X509_ALGOR', derefcnt=2, name='psig')]), - 'PKCS7_SIGNER_INFO_new': Function(type='PKCS7_SIGNER_INFO', derefcnt=1, name='PKCS7_SIGNER_INFO_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_SIGNER_INFO_new': Function(type='PKCS7_SIGNER_INFO', derefcnt=1, name='PKCS7_SIGNER_INFO_new', args=[]), 'PKCS7_SIGNER_INFO_set': Function(type='int', derefcnt=0, name='PKCS7_SIGNER_INFO_set', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='p7i'), Argument(type='X509', derefcnt=1, name='x509'), Argument(type='EVP_PKEY', derefcnt=1, name='pkey'), Argument(type='EVP_MD', derefcnt=1, name='dgst')]), 'PKCS7_SIGNER_INFO_sign': Function(type='int', derefcnt=0, name='PKCS7_SIGNER_INFO_sign', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='si')]), 'PKCS7_SIGN_ENVELOPE_free': Function(type='void', derefcnt=0, name='PKCS7_SIGN_ENVELOPE_free', args=[Argument(type='PKCS7_SIGN_ENVELOPE', derefcnt=1, name='a')]), - 'PKCS7_SIGN_ENVELOPE_new': Function(type='PKCS7_SIGN_ENVELOPE', derefcnt=1, name='PKCS7_SIGN_ENVELOPE_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_SIGN_ENVELOPE_new': Function(type='PKCS7_SIGN_ENVELOPE', derefcnt=1, name='PKCS7_SIGN_ENVELOPE_new', args=[]), 'PKCS7_add0_attrib_signing_time': Function(type='int', derefcnt=0, name='PKCS7_add0_attrib_signing_time', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='si'), Argument(type='ASN1_TIME', derefcnt=1, name='t')]), 'PKCS7_add1_attrib_digest': Function(type='int', derefcnt=0, name='PKCS7_add1_attrib_digest', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='si'), Argument(type='unsigned', derefcnt=1, name='md'), Argument(type='int', derefcnt=0, name='mdlen')]), 'PKCS7_add_attrib_content_type': Function(type='int', derefcnt=0, name='PKCS7_add_attrib_content_type', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='si'), Argument(type='ASN1_OBJECT', derefcnt=1, name='coid')]), @@ -1337,7 +1337,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'PKCS7_get_signed_attribute': Function(type='ASN1_TYPE', derefcnt=1, name='PKCS7_get_signed_attribute', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='si'), Argument(type='int', derefcnt=0, name='nid')]), 'PKCS7_get_signer_info': Function(type='stack_st_PKCS7_SIGNER_INFO', derefcnt=1, name='PKCS7_get_signer_info', args=[Argument(type='PKCS7', derefcnt=1, name='p7')]), 'PKCS7_get_smimecap': Function(type='stack_st_X509_ALGOR', derefcnt=1, name='PKCS7_get_smimecap', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='si')]), - 'PKCS7_new': Function(type='PKCS7', derefcnt=1, name='PKCS7_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS7_new': Function(type='PKCS7', derefcnt=1, name='PKCS7_new', args=[]), 'PKCS7_print_ctx': Function(type='int', derefcnt=0, name='PKCS7_print_ctx', args=[Argument(type='BIO', derefcnt=1, name='out'), Argument(type='PKCS7', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='indent'), Argument(type='ASN1_PCTX', derefcnt=1, name='pctx')]), 'PKCS7_set0_type_other': Function(type='int', derefcnt=0, name='PKCS7_set0_type_other', args=[Argument(type='PKCS7', derefcnt=1, name='p7'), Argument(type='int', derefcnt=0, name='type'), Argument(type='ASN1_TYPE', derefcnt=1, name='other')]), 'PKCS7_set_attributes': Function(type='int', derefcnt=0, name='PKCS7_set_attributes', args=[Argument(type='PKCS7_SIGNER_INFO', derefcnt=1, name='p7si'), Argument(type='stack_st_X509_ATTRIBUTE', derefcnt=1, name='sk')]), @@ -1353,15 +1353,15 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'PKCS7_stream': Function(type='int', derefcnt=0, name='PKCS7_stream', args=[Argument(type='unsigned', derefcnt=3, name='boundary'), Argument(type='PKCS7', derefcnt=1, name='p7')]), 'PKCS7_verify': Function(type='int', derefcnt=0, name='PKCS7_verify', args=[Argument(type='PKCS7', derefcnt=1, name='p7'), Argument(type='stack_st_X509', derefcnt=1, name='certs'), Argument(type='X509_STORE', derefcnt=1, name='store'), Argument(type='BIO', derefcnt=1, name='indata'), Argument(type='BIO', derefcnt=1, name='out'), Argument(type='int', derefcnt=0, name='flags')]), 'PKCS8_PRIV_KEY_INFO_free': Function(type='void', derefcnt=0, name='PKCS8_PRIV_KEY_INFO_free', args=[Argument(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='a')]), - 'PKCS8_PRIV_KEY_INFO_new': Function(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='PKCS8_PRIV_KEY_INFO_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'PKCS8_PRIV_KEY_INFO_new': Function(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='PKCS8_PRIV_KEY_INFO_new', args=[]), 'PKCS8_pkey_get0': Function(type='int', derefcnt=0, name='PKCS8_pkey_get0', args=[Argument(type='ASN1_OBJECT', derefcnt=2, name='ppkalg'), Argument(type='unsigned', derefcnt=2, name='pk'), Argument(type='int', derefcnt=1, name='ppklen'), Argument(type='X509_ALGOR', derefcnt=2, name='pa'), Argument(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='p8')]), 'PKCS8_pkey_set0': Function(type='int', derefcnt=0, name='PKCS8_pkey_set0', args=[Argument(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='priv'), Argument(type='ASN1_OBJECT', derefcnt=1, name='aobj'), Argument(type='int', derefcnt=0, name='version'), Argument(type='int', derefcnt=0, name='ptype'), Argument(type='void', derefcnt=1, name='pval'), Argument(type='unsigned', derefcnt=1, name='penc'), Argument(type='int', derefcnt=0, name='penclen')]), 'PKCS8_set_broken': Function(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='PKCS8_set_broken', args=[Argument(type='PKCS8_PRIV_KEY_INFO', derefcnt=1, name='p8'), Argument(type='int', derefcnt=0, name='broken')]), 'RSAPrivateKey_dup': Function(type='RSA', derefcnt=1, name='RSAPrivateKey_dup', args=[Argument(type='RSA', derefcnt=1, name='rsa')]), 'RSAPublicKey_dup': Function(type='RSA', derefcnt=1, name='RSAPublicKey_dup', args=[Argument(type='RSA', derefcnt=1, name='rsa')]), - 'RSA_PKCS1_SSLeay': Function(type='RSA_METHOD', derefcnt=1, name='RSA_PKCS1_SSLeay', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'RSA_PKCS1_SSLeay': Function(type='RSA_METHOD', derefcnt=1, name='RSA_PKCS1_SSLeay', args=[]), 'RSA_PSS_PARAMS_free': Function(type='void', derefcnt=0, name='RSA_PSS_PARAMS_free', args=[Argument(type='RSA_PSS_PARAMS', derefcnt=1, name='a')]), - 'RSA_PSS_PARAMS_new': Function(type='RSA_PSS_PARAMS', derefcnt=1, name='RSA_PSS_PARAMS_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'RSA_PSS_PARAMS_new': Function(type='RSA_PSS_PARAMS', derefcnt=1, name='RSA_PSS_PARAMS_new', args=[]), 'RSA_X931_hash_id': Function(type='int', derefcnt=0, name='RSA_X931_hash_id', args=[Argument(type='int', derefcnt=0, name='nid')]), 'RSA_blinding_off': Function(type='void', derefcnt=0, name='RSA_blinding_off', args=[Argument(type='RSA', derefcnt=1, name='rsa')]), 'RSA_blinding_on': Function(type='int', derefcnt=0, name='RSA_blinding_on', args=[Argument(type='RSA', derefcnt=1, name='rsa'), Argument(type='BN_CTX', derefcnt=1, name='ctx')]), @@ -1370,14 +1370,14 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'RSA_free': Function(type='void', derefcnt=0, name='RSA_free', args=[Argument(type='RSA', derefcnt=1, name='r')]), 'RSA_generate_key': Function(type='RSA', derefcnt=1, name='RSA_generate_key', args=[Argument(type='int', derefcnt=0, name='bits'), Argument(type='unsigned', derefcnt=0, name='e'), Argument(type='void', derefcnt=0, name='callback'), Argument(type='void', derefcnt=1, name='cb_arg')]), 'RSA_generate_key_ex': Function(type='int', derefcnt=0, name='RSA_generate_key_ex', args=[Argument(type='RSA', derefcnt=1, name='rsa'), Argument(type='int', derefcnt=0, name='bits'), Argument(type='BIGNUM', derefcnt=1, name='e'), Argument(type='BN_GENCB', derefcnt=1, name='cb')]), - 'RSA_get_default_method': Function(type='RSA_METHOD', derefcnt=1, name='RSA_get_default_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'RSA_get_default_method': Function(type='RSA_METHOD', derefcnt=1, name='RSA_get_default_method', args=[]), 'RSA_get_ex_data': Function(type='void', derefcnt=1, name='RSA_get_ex_data', args=[Argument(type='RSA', derefcnt=1, name='r'), Argument(type='int', derefcnt=0, name='idx')]), 'RSA_get_ex_new_index': Function(type='int', derefcnt=0, name='RSA_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), 'RSA_get_method': Function(type='RSA_METHOD', derefcnt=1, name='RSA_get_method', args=[Argument(type='RSA', derefcnt=1, name='rsa')]), 'RSA_memory_lock': Function(type='int', derefcnt=0, name='RSA_memory_lock', args=[Argument(type='RSA', derefcnt=1, name='r')]), - 'RSA_new': Function(type='RSA', derefcnt=1, name='RSA_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'RSA_new': Function(type='RSA', derefcnt=1, name='RSA_new', args=[]), 'RSA_new_method': Function(type='RSA', derefcnt=1, name='RSA_new_method', args=[Argument(type='ENGINE', derefcnt=1, name='engine')]), - 'RSA_null_method': Function(type='RSA_METHOD', derefcnt=1, name='RSA_null_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'RSA_null_method': Function(type='RSA_METHOD', derefcnt=1, name='RSA_null_method', args=[]), 'RSA_padding_add_PKCS1_OAEP': Function(type='int', derefcnt=0, name='RSA_padding_add_PKCS1_OAEP', args=[Argument(type='unsigned', derefcnt=1, name='to'), Argument(type='int', derefcnt=0, name='tlen'), Argument(type='unsigned', derefcnt=1, name='f'), Argument(type='int', derefcnt=0, name='fl'), Argument(type='unsigned', derefcnt=1, name='p'), Argument(type='int', derefcnt=0, name='pl')]), 'RSA_padding_add_PKCS1_PSS': Function(type='int', derefcnt=0, name='RSA_padding_add_PKCS1_PSS', args=[Argument(type='RSA', derefcnt=1, name='rsa'), Argument(type='unsigned', derefcnt=1, name='EM'), Argument(type='unsigned', derefcnt=1, name='mHash'), Argument(type='EVP_MD', derefcnt=1, name='Hash'), Argument(type='int', derefcnt=0, name='sLen')]), 'RSA_padding_add_PKCS1_PSS_mgf1': Function(type='int', derefcnt=0, name='RSA_padding_add_PKCS1_PSS_mgf1', args=[Argument(type='RSA', derefcnt=1, name='rsa'), Argument(type='unsigned', derefcnt=1, name='EM'), Argument(type='unsigned', derefcnt=1, name='mHash'), Argument(type='EVP_MD', derefcnt=1, name='Hash'), Argument(type='EVP_MD', derefcnt=1, name='mgf1Hash'), Argument(type='int', derefcnt=0, name='sLen')]), @@ -1455,13 +1455,13 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'SSL_CIPHER_get_name': Function(type='char', derefcnt=1, name='SSL_CIPHER_get_name', args=[Argument(type='SSL_CIPHER', derefcnt=1, name='c')]), 'SSL_CIPHER_get_version': Function(type='char', derefcnt=1, name='SSL_CIPHER_get_version', args=[Argument(type='SSL_CIPHER', derefcnt=1, name='c')]), 'SSL_COMP_add_compression_method': Function(type='int', derefcnt=0, name='SSL_COMP_add_compression_method', args=[Argument(type='int', derefcnt=0, name='id'), Argument(type='COMP_METHOD', derefcnt=1, name='cm')]), - 'SSL_COMP_get_compression_methods': Function(type='stack_st_SSL_COMP', derefcnt=1, name='SSL_COMP_get_compression_methods', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'SSL_COMP_get_compression_methods': Function(type='stack_st_SSL_COMP', derefcnt=1, name='SSL_COMP_get_compression_methods', args=[]), 'SSL_COMP_get_name': Function(type='char', derefcnt=1, name='SSL_COMP_get_name', args=[Argument(type='COMP_METHOD', derefcnt=1, name='comp')]), 'SSL_CTX_SRP_CTX_free': Function(type='int', derefcnt=0, name='SSL_CTX_SRP_CTX_free', args=[Argument(type='SSL_CTX', derefcnt=1, name='ctx')]), 'SSL_CTX_SRP_CTX_init': Function(type='int', derefcnt=0, name='SSL_CTX_SRP_CTX_init', args=[Argument(type='SSL_CTX', derefcnt=1, name='ctx')]), 'SSL_CTX_add_client_CA': Function(type='int', derefcnt=0, name='SSL_CTX_add_client_CA', args=[Argument(type='SSL_CTX', derefcnt=1, name='ctx'), Argument(type='X509', derefcnt=1, name='x')]), 'SSL_CTX_add_session': Function(type='int', derefcnt=0, name='SSL_CTX_add_session', args=[Argument(type='SSL_CTX', derefcnt=1, name='s'), Argument(type='SSL_SESSION', derefcnt=1, name='c')]), - 'SSL_CTX_callback_ctrl': Function(type='long', derefcnt=0, name='SSL_CTX_callback_ctrl', args=[Argument(type='SSL_CTX', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='void', derefcnt=0, name='')]), + 'SSL_CTX_callback_ctrl': Function(type='long', derefcnt=0, name='SSL_CTX_callback_ctrl', args=[Argument(type='SSL_CTX', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1')]), 'SSL_CTX_check_private_key': Function(type='int', derefcnt=0, name='SSL_CTX_check_private_key', args=[Argument(type='SSL_CTX', derefcnt=1, name='ctx')]), 'SSL_CTX_ctrl': Function(type='long', derefcnt=0, name='SSL_CTX_ctrl', args=[Argument(type='SSL_CTX', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='cmd'), Argument(type='long', derefcnt=0, name='larg'), Argument(type='void', derefcnt=1, name='parg')]), 'SSL_CTX_flush_sessions': Function(type='void', derefcnt=0, name='SSL_CTX_flush_sessions', args=[Argument(type='SSL_CTX', derefcnt=1, name='ctx'), Argument(type='long', derefcnt=0, name='tm')]), @@ -1545,7 +1545,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'SSL_SESSION_get_id': Function(type='unsigned', derefcnt=1, name='SSL_SESSION_get_id', args=[Argument(type='SSL_SESSION', derefcnt=1, name='s'), Argument(type='unsigned', derefcnt=1, name='len')]), 'SSL_SESSION_get_time': Function(type='long', derefcnt=0, name='SSL_SESSION_get_time', args=[Argument(type='SSL_SESSION', derefcnt=1, name='s')]), 'SSL_SESSION_get_timeout': Function(type='long', derefcnt=0, name='SSL_SESSION_get_timeout', args=[Argument(type='SSL_SESSION', derefcnt=1, name='s')]), - 'SSL_SESSION_new': Function(type='SSL_SESSION', derefcnt=1, name='SSL_SESSION_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'SSL_SESSION_new': Function(type='SSL_SESSION', derefcnt=1, name='SSL_SESSION_new', args=[]), 'SSL_SESSION_print': Function(type='int', derefcnt=0, name='SSL_SESSION_print', args=[Argument(type='BIO', derefcnt=1, name='fp'), Argument(type='SSL_SESSION', derefcnt=1, name='ses')]), 'SSL_SESSION_print_fp': Function(type='int', derefcnt=0, name='SSL_SESSION_print_fp', args=[Argument(type='FILE', derefcnt=1, name='fp'), Argument(type='SSL_SESSION', derefcnt=1, name='ses')]), 'SSL_SESSION_set1_id_context': Function(type='int', derefcnt=0, name='SSL_SESSION_set1_id_context', args=[Argument(type='SSL_SESSION', derefcnt=1, name='s'), Argument(type='unsigned', derefcnt=1, name='sid_ctx'), Argument(type='unsigned', derefcnt=0, name='sid_ctx_len')]), @@ -1563,7 +1563,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'SSL_alert_type_string': Function(type='char', derefcnt=1, name='SSL_alert_type_string', args=[Argument(type='int', derefcnt=0, name='value')]), 'SSL_alert_type_string_long': Function(type='char', derefcnt=1, name='SSL_alert_type_string_long', args=[Argument(type='int', derefcnt=0, name='value')]), 'SSL_cache_hit': Function(type='int', derefcnt=0, name='SSL_cache_hit', args=[Argument(type='SSL', derefcnt=1, name='s')]), - 'SSL_callback_ctrl': Function(type='long', derefcnt=0, name='SSL_callback_ctrl', args=[Argument(type='SSL', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='void', derefcnt=0, name='')]), + 'SSL_callback_ctrl': Function(type='long', derefcnt=0, name='SSL_callback_ctrl', args=[Argument(type='SSL', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1')]), 'SSL_check_private_key': Function(type='int', derefcnt=0, name='SSL_check_private_key', args=[Argument(type='SSL', derefcnt=1, name='ctx')]), 'SSL_clear': Function(type='int', derefcnt=0, name='SSL_clear', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'SSL_connect': Function(type='int', derefcnt=0, name='SSL_connect', args=[Argument(type='SSL', derefcnt=1, name='ssl')]), @@ -1587,7 +1587,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'SSL_get_default_timeout': Function(type='long', derefcnt=0, name='SSL_get_default_timeout', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'SSL_get_error': Function(type='int', derefcnt=0, name='SSL_get_error', args=[Argument(type='SSL', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='ret_code')]), 'SSL_get_ex_data': Function(type='void', derefcnt=1, name='SSL_get_ex_data', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='int', derefcnt=0, name='idx')]), - 'SSL_get_ex_data_X509_STORE_CTX_idx': Function(type='int', derefcnt=0, name='SSL_get_ex_data_X509_STORE_CTX_idx', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'SSL_get_ex_data_X509_STORE_CTX_idx': Function(type='int', derefcnt=0, name='SSL_get_ex_data_X509_STORE_CTX_idx', args=[]), 'SSL_get_ex_new_index': Function(type='int', derefcnt=0, name='SSL_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), 'SSL_get_fd': Function(type='int', derefcnt=0, name='SSL_get_fd', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'SSL_get_finished': Function(type='size_t', derefcnt=0, name='SSL_get_finished', args=[Argument(type='SSL', derefcnt=1, name='s'), Argument(type='void', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='count')]), @@ -1622,9 +1622,9 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'SSL_get_wbio': Function(type='BIO', derefcnt=1, name='SSL_get_wbio', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'SSL_get_wfd': Function(type='int', derefcnt=0, name='SSL_get_wfd', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'SSL_has_matching_session_id': Function(type='int', derefcnt=0, name='SSL_has_matching_session_id', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='unsigned', derefcnt=1, name='id'), Argument(type='unsigned', derefcnt=0, name='id_len')]), - 'SSL_library_init': Function(type='int', derefcnt=0, name='SSL_library_init', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'SSL_library_init': Function(type='int', derefcnt=0, name='SSL_library_init', args=[]), 'SSL_load_client_CA_file': Function(type='stack_st_X509_NAME', derefcnt=1, name='SSL_load_client_CA_file', args=[Argument(type='char', derefcnt=1, name='file')]), - 'SSL_load_error_strings': Function(type='void', derefcnt=0, name='SSL_load_error_strings', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'SSL_load_error_strings': Function(type='void', derefcnt=0, name='SSL_load_error_strings', args=[]), 'SSL_new': Function(type='SSL', derefcnt=1, name='SSL_new', args=[Argument(type='SSL_CTX', derefcnt=1, name='ctx')]), 'SSL_peek': Function(type='int', derefcnt=0, name='SSL_peek', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='void', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='num')]), 'SSL_pending': Function(type='int', derefcnt=0, name='SSL_pending', args=[Argument(type='SSL', derefcnt=1, name='s')]), @@ -1691,31 +1691,31 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'SSL_version': Function(type='int', derefcnt=0, name='SSL_version', args=[Argument(type='SSL', derefcnt=1, name='ssl')]), 'SSL_want': Function(type='int', derefcnt=0, name='SSL_want', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'SSL_write': Function(type='int', derefcnt=0, name='SSL_write', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='void', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='num')]), - 'SSLeay': Function(type='unsigned', derefcnt=0, name='SSLeay', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'SSLeay': Function(type='unsigned', derefcnt=0, name='SSLeay', args=[]), 'SSLeay_version': Function(type='char', derefcnt=1, name='SSLeay_version', args=[Argument(type='int', derefcnt=0, name='type')]), - 'SSLv23_client_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv23_client_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'SSLv23_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv23_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'SSLv23_server_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv23_server_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'SSLv3_client_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv3_client_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'SSLv3_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv3_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'SSLv3_server_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv3_server_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'SSLv23_client_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv23_client_method', args=[]), + 'SSLv23_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv23_method', args=[]), + 'SSLv23_server_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv23_server_method', args=[]), + 'SSLv3_client_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv3_client_method', args=[]), + 'SSLv3_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv3_method', args=[]), + 'SSLv3_server_method': Function(type='SSL_METHOD', derefcnt=1, name='SSLv3_server_method', args=[]), 'TLS_ext_srp_username_callback': Function(type='int', derefcnt=0, name='TLS_ext_srp_username_callback', args=[Argument(type='SSL', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=1, name='arg1'), Argument(type='void', derefcnt=1, name='arg2')]), - 'TLSv1_1_client_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_1_client_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_1_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_1_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_1_server_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_1_server_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_2_client_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_2_client_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_2_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_2_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_2_server_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_2_server_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_client_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_client_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'TLSv1_server_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_server_method', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'TLSv1_1_client_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_1_client_method', args=[]), + 'TLSv1_1_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_1_method', args=[]), + 'TLSv1_1_server_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_1_server_method', args=[]), + 'TLSv1_2_client_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_2_client_method', args=[]), + 'TLSv1_2_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_2_method', args=[]), + 'TLSv1_2_server_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_2_server_method', args=[]), + 'TLSv1_client_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_client_method', args=[]), + 'TLSv1_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_method', args=[]), + 'TLSv1_server_method': Function(type='SSL_METHOD', derefcnt=1, name='TLSv1_server_method', args=[]), 'UTF8_getc': Function(type='int', derefcnt=0, name='UTF8_getc', args=[Argument(type='unsigned', derefcnt=1, name='str'), Argument(type='int', derefcnt=0, name='len'), Argument(type='unsigned', derefcnt=1, name='val')]), 'UTF8_putc': Function(type='int', derefcnt=0, name='UTF8_putc', args=[Argument(type='unsigned', derefcnt=1, name='str'), Argument(type='int', derefcnt=0, name='len'), Argument(type='unsigned', derefcnt=0, name='value')]), 'X509_ALGOR_cmp': Function(type='int', derefcnt=0, name='X509_ALGOR_cmp', args=[Argument(type='X509_ALGOR', derefcnt=1, name='a'), Argument(type='X509_ALGOR', derefcnt=1, name='b')]), 'X509_ALGOR_dup': Function(type='X509_ALGOR', derefcnt=1, name='X509_ALGOR_dup', args=[Argument(type='X509_ALGOR', derefcnt=1, name='xn')]), 'X509_ALGOR_free': Function(type='void', derefcnt=0, name='X509_ALGOR_free', args=[Argument(type='X509_ALGOR', derefcnt=1, name='a')]), 'X509_ALGOR_get0': Function(type='void', derefcnt=0, name='X509_ALGOR_get0', args=[Argument(type='ASN1_OBJECT', derefcnt=2, name='paobj'), Argument(type='int', derefcnt=1, name='pptype'), Argument(type='void', derefcnt=2, name='ppval'), Argument(type='X509_ALGOR', derefcnt=1, name='algor')]), - 'X509_ALGOR_new': Function(type='X509_ALGOR', derefcnt=1, name='X509_ALGOR_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_ALGOR_new': Function(type='X509_ALGOR', derefcnt=1, name='X509_ALGOR_new', args=[]), 'X509_ALGOR_set0': Function(type='int', derefcnt=0, name='X509_ALGOR_set0', args=[Argument(type='X509_ALGOR', derefcnt=1, name='alg'), Argument(type='ASN1_OBJECT', derefcnt=1, name='aobj'), Argument(type='int', derefcnt=0, name='ptype'), Argument(type='void', derefcnt=1, name='pval')]), 'X509_ALGOR_set_md': Function(type='void', derefcnt=0, name='X509_ALGOR_set_md', args=[Argument(type='X509_ALGOR', derefcnt=1, name='alg'), Argument(type='EVP_MD', derefcnt=1, name='md')]), 'X509_ATTRIBUTE_count': Function(type='int', derefcnt=0, name='X509_ATTRIBUTE_count', args=[Argument(type='X509_ATTRIBUTE', derefcnt=1, name='attr')]), @@ -1728,18 +1728,18 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_ATTRIBUTE_get0_data': Function(type='void', derefcnt=1, name='X509_ATTRIBUTE_get0_data', args=[Argument(type='X509_ATTRIBUTE', derefcnt=1, name='attr'), Argument(type='int', derefcnt=0, name='idx'), Argument(type='int', derefcnt=0, name='atrtype'), Argument(type='void', derefcnt=1, name='data')]), 'X509_ATTRIBUTE_get0_object': Function(type='ASN1_OBJECT', derefcnt=1, name='X509_ATTRIBUTE_get0_object', args=[Argument(type='X509_ATTRIBUTE', derefcnt=1, name='attr')]), 'X509_ATTRIBUTE_get0_type': Function(type='ASN1_TYPE', derefcnt=1, name='X509_ATTRIBUTE_get0_type', args=[Argument(type='X509_ATTRIBUTE', derefcnt=1, name='attr'), Argument(type='int', derefcnt=0, name='idx')]), - 'X509_ATTRIBUTE_new': Function(type='X509_ATTRIBUTE', derefcnt=1, name='X509_ATTRIBUTE_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_ATTRIBUTE_new': Function(type='X509_ATTRIBUTE', derefcnt=1, name='X509_ATTRIBUTE_new', args=[]), 'X509_ATTRIBUTE_set1_data': Function(type='int', derefcnt=0, name='X509_ATTRIBUTE_set1_data', args=[Argument(type='X509_ATTRIBUTE', derefcnt=1, name='attr'), Argument(type='int', derefcnt=0, name='attrtype'), Argument(type='void', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='len')]), 'X509_ATTRIBUTE_set1_object': Function(type='int', derefcnt=0, name='X509_ATTRIBUTE_set1_object', args=[Argument(type='X509_ATTRIBUTE', derefcnt=1, name='attr'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj')]), 'X509_CERT_AUX_free': Function(type='void', derefcnt=0, name='X509_CERT_AUX_free', args=[Argument(type='X509_CERT_AUX', derefcnt=1, name='a')]), - 'X509_CERT_AUX_new': Function(type='X509_CERT_AUX', derefcnt=1, name='X509_CERT_AUX_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_CERT_AUX_new': Function(type='X509_CERT_AUX', derefcnt=1, name='X509_CERT_AUX_new', args=[]), 'X509_CERT_AUX_print': Function(type='int', derefcnt=0, name='X509_CERT_AUX_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509_CERT_AUX', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='indent')]), 'X509_CERT_PAIR_free': Function(type='void', derefcnt=0, name='X509_CERT_PAIR_free', args=[Argument(type='X509_CERT_PAIR', derefcnt=1, name='a')]), - 'X509_CERT_PAIR_new': Function(type='X509_CERT_PAIR', derefcnt=1, name='X509_CERT_PAIR_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_CERT_PAIR_new': Function(type='X509_CERT_PAIR', derefcnt=1, name='X509_CERT_PAIR_new', args=[]), 'X509_CINF_free': Function(type='void', derefcnt=0, name='X509_CINF_free', args=[Argument(type='X509_CINF', derefcnt=1, name='a')]), - 'X509_CINF_new': Function(type='X509_CINF', derefcnt=1, name='X509_CINF_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_CINF_new': Function(type='X509_CINF', derefcnt=1, name='X509_CINF_new', args=[]), 'X509_CRL_INFO_free': Function(type='void', derefcnt=0, name='X509_CRL_INFO_free', args=[Argument(type='X509_CRL_INFO', derefcnt=1, name='a')]), - 'X509_CRL_INFO_new': Function(type='X509_CRL_INFO', derefcnt=1, name='X509_CRL_INFO_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_CRL_INFO_new': Function(type='X509_CRL_INFO', derefcnt=1, name='X509_CRL_INFO_new', args=[]), 'X509_CRL_METHOD_free': Function(type='void', derefcnt=0, name='X509_CRL_METHOD_free', args=[Argument(type='X509_CRL_METHOD', derefcnt=1, name='m')]), 'X509_CRL_METHOD_new': Function(type='X509_CRL_METHOD', derefcnt=1, name='X509_CRL_METHOD_new', args=[Argument(type='int', derefcnt=0, name='crl_init'), Argument(type='int', derefcnt=0, name='crl_free'), Argument(type='int', derefcnt=0, name='crl_lookup'), Argument(type='int', derefcnt=0, name='crl_verify')]), 'X509_CRL_add0_revoked': Function(type='int', derefcnt=0, name='X509_CRL_add0_revoked', args=[Argument(type='X509_CRL', derefcnt=1, name='crl'), Argument(type='X509_REVOKED', derefcnt=1, name='rev')]), @@ -1760,7 +1760,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_CRL_get_ext_d2i': Function(type='void', derefcnt=1, name='X509_CRL_get_ext_d2i', args=[Argument(type='X509_CRL', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='nid'), Argument(type='int', derefcnt=1, name='crit'), Argument(type='int', derefcnt=1, name='idx')]), 'X509_CRL_get_meth_data': Function(type='void', derefcnt=1, name='X509_CRL_get_meth_data', args=[Argument(type='X509_CRL', derefcnt=1, name='crl')]), 'X509_CRL_match': Function(type='int', derefcnt=0, name='X509_CRL_match', args=[Argument(type='X509_CRL', derefcnt=1, name='a'), Argument(type='X509_CRL', derefcnt=1, name='b')]), - 'X509_CRL_new': Function(type='X509_CRL', derefcnt=1, name='X509_CRL_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_CRL_new': Function(type='X509_CRL', derefcnt=1, name='X509_CRL_new', args=[]), 'X509_CRL_print': Function(type='int', derefcnt=0, name='X509_CRL_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509_CRL', derefcnt=1, name='x')]), 'X509_CRL_print_fp': Function(type='int', derefcnt=0, name='X509_CRL_print_fp', args=[Argument(type='FILE', derefcnt=1, name='bp'), Argument(type='X509_CRL', derefcnt=1, name='x')]), 'X509_CRL_set_default_method': Function(type='void', derefcnt=0, name='X509_CRL_set_default_method', args=[Argument(type='X509_CRL_METHOD', derefcnt=1, name='meth')]), @@ -1780,20 +1780,20 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_EXTENSION_get_critical': Function(type='int', derefcnt=0, name='X509_EXTENSION_get_critical', args=[Argument(type='X509_EXTENSION', derefcnt=1, name='ex')]), 'X509_EXTENSION_get_data': Function(type='ASN1_OCTET_STRING', derefcnt=1, name='X509_EXTENSION_get_data', args=[Argument(type='X509_EXTENSION', derefcnt=1, name='ne')]), 'X509_EXTENSION_get_object': Function(type='ASN1_OBJECT', derefcnt=1, name='X509_EXTENSION_get_object', args=[Argument(type='X509_EXTENSION', derefcnt=1, name='ex')]), - 'X509_EXTENSION_new': Function(type='X509_EXTENSION', derefcnt=1, name='X509_EXTENSION_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_EXTENSION_new': Function(type='X509_EXTENSION', derefcnt=1, name='X509_EXTENSION_new', args=[]), 'X509_EXTENSION_set_critical': Function(type='int', derefcnt=0, name='X509_EXTENSION_set_critical', args=[Argument(type='X509_EXTENSION', derefcnt=1, name='ex'), Argument(type='int', derefcnt=0, name='crit')]), 'X509_EXTENSION_set_data': Function(type='int', derefcnt=0, name='X509_EXTENSION_set_data', args=[Argument(type='X509_EXTENSION', derefcnt=1, name='ex'), Argument(type='ASN1_OCTET_STRING', derefcnt=1, name='data')]), 'X509_EXTENSION_set_object': Function(type='int', derefcnt=0, name='X509_EXTENSION_set_object', args=[Argument(type='X509_EXTENSION', derefcnt=1, name='ex'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj')]), 'X509_INFO_free': Function(type='void', derefcnt=0, name='X509_INFO_free', args=[Argument(type='X509_INFO', derefcnt=1, name='a')]), - 'X509_INFO_new': Function(type='X509_INFO', derefcnt=1, name='X509_INFO_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_INFO_new': Function(type='X509_INFO', derefcnt=1, name='X509_INFO_new', args=[]), 'X509_LOOKUP_by_alias': Function(type='int', derefcnt=0, name='X509_LOOKUP_by_alias', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='type'), Argument(type='char', derefcnt=1, name='str'), Argument(type='int', derefcnt=0, name='len'), Argument(type='X509_OBJECT', derefcnt=1, name='ret')]), 'X509_LOOKUP_by_fingerprint': Function(type='int', derefcnt=0, name='X509_LOOKUP_by_fingerprint', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='type'), Argument(type='unsigned', derefcnt=1, name='bytes'), Argument(type='int', derefcnt=0, name='len'), Argument(type='X509_OBJECT', derefcnt=1, name='ret')]), 'X509_LOOKUP_by_issuer_serial': Function(type='int', derefcnt=0, name='X509_LOOKUP_by_issuer_serial', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='type'), Argument(type='X509_NAME', derefcnt=1, name='name'), Argument(type='ASN1_INTEGER', derefcnt=1, name='serial'), Argument(type='X509_OBJECT', derefcnt=1, name='ret')]), 'X509_LOOKUP_by_subject': Function(type='int', derefcnt=0, name='X509_LOOKUP_by_subject', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='type'), Argument(type='X509_NAME', derefcnt=1, name='name'), Argument(type='X509_OBJECT', derefcnt=1, name='ret')]), 'X509_LOOKUP_ctrl': Function(type='int', derefcnt=0, name='X509_LOOKUP_ctrl', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='cmd'), Argument(type='char', derefcnt=1, name='argc'), Argument(type='long', derefcnt=0, name='argl'), Argument(type='char', derefcnt=2, name='ret')]), - 'X509_LOOKUP_file': Function(type='X509_LOOKUP_METHOD', derefcnt=1, name='X509_LOOKUP_file', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_LOOKUP_file': Function(type='X509_LOOKUP_METHOD', derefcnt=1, name='X509_LOOKUP_file', args=[]), 'X509_LOOKUP_free': Function(type='void', derefcnt=0, name='X509_LOOKUP_free', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx')]), - 'X509_LOOKUP_hash_dir': Function(type='X509_LOOKUP_METHOD', derefcnt=1, name='X509_LOOKUP_hash_dir', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_LOOKUP_hash_dir': Function(type='X509_LOOKUP_METHOD', derefcnt=1, name='X509_LOOKUP_hash_dir', args=[]), 'X509_LOOKUP_init': Function(type='int', derefcnt=0, name='X509_LOOKUP_init', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx')]), 'X509_LOOKUP_new': Function(type='X509_LOOKUP', derefcnt=1, name='X509_LOOKUP_new', args=[Argument(type='X509_LOOKUP_METHOD', derefcnt=1, name='method')]), 'X509_LOOKUP_shutdown': Function(type='int', derefcnt=0, name='X509_LOOKUP_shutdown', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx')]), @@ -1804,7 +1804,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_NAME_ENTRY_free': Function(type='void', derefcnt=0, name='X509_NAME_ENTRY_free', args=[Argument(type='X509_NAME_ENTRY', derefcnt=1, name='a')]), 'X509_NAME_ENTRY_get_data': Function(type='ASN1_STRING', derefcnt=1, name='X509_NAME_ENTRY_get_data', args=[Argument(type='X509_NAME_ENTRY', derefcnt=1, name='ne')]), 'X509_NAME_ENTRY_get_object': Function(type='ASN1_OBJECT', derefcnt=1, name='X509_NAME_ENTRY_get_object', args=[Argument(type='X509_NAME_ENTRY', derefcnt=1, name='ne')]), - 'X509_NAME_ENTRY_new': Function(type='X509_NAME_ENTRY', derefcnt=1, name='X509_NAME_ENTRY_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_NAME_ENTRY_new': Function(type='X509_NAME_ENTRY', derefcnt=1, name='X509_NAME_ENTRY_new', args=[]), 'X509_NAME_ENTRY_set_data': Function(type='int', derefcnt=0, name='X509_NAME_ENTRY_set_data', args=[Argument(type='X509_NAME_ENTRY', derefcnt=1, name='ne'), Argument(type='int', derefcnt=0, name='type'), Argument(type='unsigned', derefcnt=1, name='bytes'), Argument(type='int', derefcnt=0, name='len')]), 'X509_NAME_ENTRY_set_object': Function(type='int', derefcnt=0, name='X509_NAME_ENTRY_set_object', args=[Argument(type='X509_NAME_ENTRY', derefcnt=1, name='ne'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj')]), 'X509_NAME_add_entry': Function(type='int', derefcnt=0, name='X509_NAME_add_entry', args=[Argument(type='X509_NAME', derefcnt=1, name='name'), Argument(type='X509_NAME_ENTRY', derefcnt=1, name='ne'), Argument(type='int', derefcnt=0, name='loc'), Argument(type='int', derefcnt=0, name='set')]), @@ -1824,7 +1824,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_NAME_get_text_by_OBJ': Function(type='int', derefcnt=0, name='X509_NAME_get_text_by_OBJ', args=[Argument(type='X509_NAME', derefcnt=1, name='name'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='len')]), 'X509_NAME_hash': Function(type='unsigned', derefcnt=0, name='X509_NAME_hash', args=[Argument(type='X509_NAME', derefcnt=1, name='x')]), 'X509_NAME_hash_old': Function(type='unsigned', derefcnt=0, name='X509_NAME_hash_old', args=[Argument(type='X509_NAME', derefcnt=1, name='x')]), - 'X509_NAME_new': Function(type='X509_NAME', derefcnt=1, name='X509_NAME_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_NAME_new': Function(type='X509_NAME', derefcnt=1, name='X509_NAME_new', args=[]), 'X509_NAME_oneline': Function(type='char', derefcnt=1, name='X509_NAME_oneline', args=[Argument(type='X509_NAME', derefcnt=1, name='a'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='size')]), 'X509_NAME_print': Function(type='int', derefcnt=0, name='X509_NAME_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509_NAME', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='obase')]), 'X509_NAME_print_ex': Function(type='int', derefcnt=0, name='X509_NAME_print_ex', args=[Argument(type='BIO', derefcnt=1, name='out'), Argument(type='X509_NAME', derefcnt=1, name='nm'), Argument(type='int', derefcnt=0, name='indent'), Argument(type='unsigned', derefcnt=0, name='flags')]), @@ -1836,15 +1836,15 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_OBJECT_retrieve_match': Function(type='X509_OBJECT', derefcnt=1, name='X509_OBJECT_retrieve_match', args=[Argument(type='stack_st_X509_OBJECT', derefcnt=1, name='h'), Argument(type='X509_OBJECT', derefcnt=1, name='x')]), 'X509_OBJECT_up_ref_count': Function(type='void', derefcnt=0, name='X509_OBJECT_up_ref_count', args=[Argument(type='X509_OBJECT', derefcnt=1, name='a')]), 'X509_PKEY_free': Function(type='void', derefcnt=0, name='X509_PKEY_free', args=[Argument(type='X509_PKEY', derefcnt=1, name='a')]), - 'X509_PKEY_new': Function(type='X509_PKEY', derefcnt=1, name='X509_PKEY_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_PKEY_new': Function(type='X509_PKEY', derefcnt=1, name='X509_PKEY_new', args=[]), 'X509_PUBKEY_free': Function(type='void', derefcnt=0, name='X509_PUBKEY_free', args=[Argument(type='X509_PUBKEY', derefcnt=1, name='a')]), 'X509_PUBKEY_get': Function(type='EVP_PKEY', derefcnt=1, name='X509_PUBKEY_get', args=[Argument(type='X509_PUBKEY', derefcnt=1, name='key')]), 'X509_PUBKEY_get0_param': Function(type='int', derefcnt=0, name='X509_PUBKEY_get0_param', args=[Argument(type='ASN1_OBJECT', derefcnt=2, name='ppkalg'), Argument(type='unsigned', derefcnt=2, name='pk'), Argument(type='int', derefcnt=1, name='ppklen'), Argument(type='X509_ALGOR', derefcnt=2, name='pa'), Argument(type='X509_PUBKEY', derefcnt=1, name='pub')]), - 'X509_PUBKEY_new': Function(type='X509_PUBKEY', derefcnt=1, name='X509_PUBKEY_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_PUBKEY_new': Function(type='X509_PUBKEY', derefcnt=1, name='X509_PUBKEY_new', args=[]), 'X509_PUBKEY_set': Function(type='int', derefcnt=0, name='X509_PUBKEY_set', args=[Argument(type='X509_PUBKEY', derefcnt=2, name='x'), Argument(type='EVP_PKEY', derefcnt=1, name='pkey')]), 'X509_PUBKEY_set0_param': Function(type='int', derefcnt=0, name='X509_PUBKEY_set0_param', args=[Argument(type='X509_PUBKEY', derefcnt=1, name='pub'), Argument(type='ASN1_OBJECT', derefcnt=1, name='aobj'), Argument(type='int', derefcnt=0, name='ptype'), Argument(type='void', derefcnt=1, name='pval'), Argument(type='unsigned', derefcnt=1, name='penc'), Argument(type='int', derefcnt=0, name='penclen')]), 'X509_REQ_INFO_free': Function(type='void', derefcnt=0, name='X509_REQ_INFO_free', args=[Argument(type='X509_REQ_INFO', derefcnt=1, name='a')]), - 'X509_REQ_INFO_new': Function(type='X509_REQ_INFO', derefcnt=1, name='X509_REQ_INFO_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_REQ_INFO_new': Function(type='X509_REQ_INFO', derefcnt=1, name='X509_REQ_INFO_new', args=[]), 'X509_REQ_add1_attr': Function(type='int', derefcnt=0, name='X509_REQ_add1_attr', args=[Argument(type='X509_REQ', derefcnt=1, name='req'), Argument(type='X509_ATTRIBUTE', derefcnt=1, name='attr')]), 'X509_REQ_add1_attr_by_NID': Function(type='int', derefcnt=0, name='X509_REQ_add1_attr_by_NID', args=[Argument(type='X509_REQ', derefcnt=1, name='req'), Argument(type='int', derefcnt=0, name='nid'), Argument(type='int', derefcnt=0, name='type'), Argument(type='unsigned', derefcnt=1, name='bytes'), Argument(type='int', derefcnt=0, name='len')]), 'X509_REQ_add1_attr_by_OBJ': Function(type='int', derefcnt=0, name='X509_REQ_add1_attr_by_OBJ', args=[Argument(type='X509_REQ', derefcnt=1, name='req'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj'), Argument(type='int', derefcnt=0, name='type'), Argument(type='unsigned', derefcnt=1, name='bytes'), Argument(type='int', derefcnt=0, name='len')]), @@ -1861,10 +1861,10 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_REQ_get_attr_by_NID': Function(type='int', derefcnt=0, name='X509_REQ_get_attr_by_NID', args=[Argument(type='X509_REQ', derefcnt=1, name='req'), Argument(type='int', derefcnt=0, name='nid'), Argument(type='int', derefcnt=0, name='lastpos')]), 'X509_REQ_get_attr_by_OBJ': Function(type='int', derefcnt=0, name='X509_REQ_get_attr_by_OBJ', args=[Argument(type='X509_REQ', derefcnt=1, name='req'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj'), Argument(type='int', derefcnt=0, name='lastpos')]), 'X509_REQ_get_attr_count': Function(type='int', derefcnt=0, name='X509_REQ_get_attr_count', args=[Argument(type='X509_REQ', derefcnt=1, name='req')]), - 'X509_REQ_get_extension_nids': Function(type='int', derefcnt=1, name='X509_REQ_get_extension_nids', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_REQ_get_extension_nids': Function(type='int', derefcnt=1, name='X509_REQ_get_extension_nids', args=[]), 'X509_REQ_get_extensions': Function(type='stack_st_X509_EXTENSION', derefcnt=1, name='X509_REQ_get_extensions', args=[Argument(type='X509_REQ', derefcnt=1, name='req')]), 'X509_REQ_get_pubkey': Function(type='EVP_PKEY', derefcnt=1, name='X509_REQ_get_pubkey', args=[Argument(type='X509_REQ', derefcnt=1, name='req')]), - 'X509_REQ_new': Function(type='X509_REQ', derefcnt=1, name='X509_REQ_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_REQ_new': Function(type='X509_REQ', derefcnt=1, name='X509_REQ_new', args=[]), 'X509_REQ_print': Function(type='int', derefcnt=0, name='X509_REQ_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509_REQ', derefcnt=1, name='req')]), 'X509_REQ_print_ex': Function(type='int', derefcnt=0, name='X509_REQ_print_ex', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509_REQ', derefcnt=1, name='x'), Argument(type='unsigned', derefcnt=0, name='nmflag'), Argument(type='unsigned', derefcnt=0, name='cflag')]), 'X509_REQ_print_fp': Function(type='int', derefcnt=0, name='X509_REQ_print_fp', args=[Argument(type='FILE', derefcnt=1, name='bp'), Argument(type='X509_REQ', derefcnt=1, name='req')]), @@ -1886,11 +1886,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_REVOKED_get_ext_by_critical': Function(type='int', derefcnt=0, name='X509_REVOKED_get_ext_by_critical', args=[Argument(type='X509_REVOKED', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='crit'), Argument(type='int', derefcnt=0, name='lastpos')]), 'X509_REVOKED_get_ext_count': Function(type='int', derefcnt=0, name='X509_REVOKED_get_ext_count', args=[Argument(type='X509_REVOKED', derefcnt=1, name='x')]), 'X509_REVOKED_get_ext_d2i': Function(type='void', derefcnt=1, name='X509_REVOKED_get_ext_d2i', args=[Argument(type='X509_REVOKED', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='nid'), Argument(type='int', derefcnt=1, name='crit'), Argument(type='int', derefcnt=1, name='idx')]), - 'X509_REVOKED_new': Function(type='X509_REVOKED', derefcnt=1, name='X509_REVOKED_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_REVOKED_new': Function(type='X509_REVOKED', derefcnt=1, name='X509_REVOKED_new', args=[]), 'X509_REVOKED_set_revocationDate': Function(type='int', derefcnt=0, name='X509_REVOKED_set_revocationDate', args=[Argument(type='X509_REVOKED', derefcnt=1, name='r'), Argument(type='ASN1_TIME', derefcnt=1, name='tm')]), 'X509_REVOKED_set_serialNumber': Function(type='int', derefcnt=0, name='X509_REVOKED_set_serialNumber', args=[Argument(type='X509_REVOKED', derefcnt=1, name='x'), Argument(type='ASN1_INTEGER', derefcnt=1, name='serial')]), 'X509_SIG_free': Function(type='void', derefcnt=0, name='X509_SIG_free', args=[Argument(type='X509_SIG', derefcnt=1, name='a')]), - 'X509_SIG_new': Function(type='X509_SIG', derefcnt=1, name='X509_SIG_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_SIG_new': Function(type='X509_SIG', derefcnt=1, name='X509_SIG_new', args=[]), 'X509_STORE_CTX_cleanup': Function(type='void', derefcnt=0, name='X509_STORE_CTX_cleanup', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx')]), 'X509_STORE_CTX_free': Function(type='void', derefcnt=0, name='X509_STORE_CTX_free', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx')]), 'X509_STORE_CTX_get0_current_crl': Function(type='X509_CRL', derefcnt=1, name='X509_STORE_CTX_get0_current_crl', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx')]), @@ -1908,7 +1908,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_STORE_CTX_get_ex_new_index': Function(type='int', derefcnt=0, name='X509_STORE_CTX_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), 'X509_STORE_CTX_get_explicit_policy': Function(type='int', derefcnt=0, name='X509_STORE_CTX_get_explicit_policy', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx')]), 'X509_STORE_CTX_init': Function(type='int', derefcnt=0, name='X509_STORE_CTX_init', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx'), Argument(type='X509_STORE', derefcnt=1, name='store'), Argument(type='X509', derefcnt=1, name='x509'), Argument(type='stack_st_X509', derefcnt=1, name='chain')]), - 'X509_STORE_CTX_new': Function(type='X509_STORE_CTX', derefcnt=1, name='X509_STORE_CTX_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_STORE_CTX_new': Function(type='X509_STORE_CTX', derefcnt=1, name='X509_STORE_CTX_new', args=[]), 'X509_STORE_CTX_purpose_inherit': Function(type='int', derefcnt=0, name='X509_STORE_CTX_purpose_inherit', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='def_purpose'), Argument(type='int', derefcnt=0, name='purpose'), Argument(type='int', derefcnt=0, name='trust')]), 'X509_STORE_CTX_set0_crls': Function(type='void', derefcnt=0, name='X509_STORE_CTX_set0_crls', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='c'), Argument(type='stack_st_X509_CRL', derefcnt=1, name='sk')]), 'X509_STORE_CTX_set0_param': Function(type='void', derefcnt=0, name='X509_STORE_CTX_set0_param', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx'), Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param')]), @@ -1932,7 +1932,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_STORE_get1_crls': Function(type='stack_st_X509_CRL', derefcnt=1, name='X509_STORE_get1_crls', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='st'), Argument(type='X509_NAME', derefcnt=1, name='nm')]), 'X509_STORE_get_by_subject': Function(type='int', derefcnt=0, name='X509_STORE_get_by_subject', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='vs'), Argument(type='int', derefcnt=0, name='type'), Argument(type='X509_NAME', derefcnt=1, name='name'), Argument(type='X509_OBJECT', derefcnt=1, name='ret')]), 'X509_STORE_load_locations': Function(type='int', derefcnt=0, name='X509_STORE_load_locations', args=[Argument(type='X509_STORE', derefcnt=1, name='ctx'), Argument(type='char', derefcnt=1, name='file'), Argument(type='char', derefcnt=1, name='dir')]), - 'X509_STORE_new': Function(type='X509_STORE', derefcnt=1, name='X509_STORE_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_STORE_new': Function(type='X509_STORE', derefcnt=1, name='X509_STORE_new', args=[]), 'X509_STORE_set1_param': Function(type='int', derefcnt=0, name='X509_STORE_set1_param', args=[Argument(type='X509_STORE', derefcnt=1, name='ctx'), Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='pm')]), 'X509_STORE_set_default_paths': Function(type='int', derefcnt=0, name='X509_STORE_set_default_paths', args=[Argument(type='X509_STORE', derefcnt=1, name='ctx')]), 'X509_STORE_set_depth': Function(type='int', derefcnt=0, name='X509_STORE_set_depth', args=[Argument(type='X509_STORE', derefcnt=1, name='store'), Argument(type='int', derefcnt=0, name='depth')]), @@ -1941,17 +1941,17 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_STORE_set_trust': Function(type='int', derefcnt=0, name='X509_STORE_set_trust', args=[Argument(type='X509_STORE', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='trust')]), 'X509_STORE_set_verify_cb': Function(type='void', derefcnt=0, name='X509_STORE_set_verify_cb', args=[Argument(type='X509_STORE', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='verify_cb')]), 'X509_TRUST_add': Function(type='int', derefcnt=0, name='X509_TRUST_add', args=[Argument(type='int', derefcnt=0, name='id'), Argument(type='int', derefcnt=0, name='flags'), Argument(type='int', derefcnt=0, name='ck'), Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='void', derefcnt=1, name='arg2')]), - 'X509_TRUST_cleanup': Function(type='void', derefcnt=0, name='X509_TRUST_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_TRUST_cleanup': Function(type='void', derefcnt=0, name='X509_TRUST_cleanup', args=[]), 'X509_TRUST_get0': Function(type='X509_TRUST', derefcnt=1, name='X509_TRUST_get0', args=[Argument(type='int', derefcnt=0, name='idx')]), 'X509_TRUST_get0_name': Function(type='char', derefcnt=1, name='X509_TRUST_get0_name', args=[Argument(type='X509_TRUST', derefcnt=1, name='xp')]), 'X509_TRUST_get_by_id': Function(type='int', derefcnt=0, name='X509_TRUST_get_by_id', args=[Argument(type='int', derefcnt=0, name='id')]), - 'X509_TRUST_get_count': Function(type='int', derefcnt=0, name='X509_TRUST_get_count', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_TRUST_get_count': Function(type='int', derefcnt=0, name='X509_TRUST_get_count', args=[]), 'X509_TRUST_get_flags': Function(type='int', derefcnt=0, name='X509_TRUST_get_flags', args=[Argument(type='X509_TRUST', derefcnt=1, name='xp')]), 'X509_TRUST_get_trust': Function(type='int', derefcnt=0, name='X509_TRUST_get_trust', args=[Argument(type='X509_TRUST', derefcnt=1, name='xp')]), 'X509_TRUST_set': Function(type='int', derefcnt=0, name='X509_TRUST_set', args=[Argument(type='int', derefcnt=1, name='t'), Argument(type='int', derefcnt=0, name='trust')]), 'X509_TRUST_set_default': Function(type='int', derefcnt=0, name='X509_TRUST_set_default', args=[Argument(type='int', derefcnt=0, name='trust')]), 'X509_VAL_free': Function(type='void', derefcnt=0, name='X509_VAL_free', args=[Argument(type='X509_VAL', derefcnt=1, name='a')]), - 'X509_VAL_new': Function(type='X509_VAL', derefcnt=1, name='X509_VAL_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_VAL_new': Function(type='X509_VAL', derefcnt=1, name='X509_VAL_new', args=[]), 'X509_VERIFY_PARAM_add0_policy': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_add0_policy', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param'), Argument(type='ASN1_OBJECT', derefcnt=1, name='policy')]), 'X509_VERIFY_PARAM_add0_table': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_add0_table', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param')]), 'X509_VERIFY_PARAM_clear_flags': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_clear_flags', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param'), Argument(type='unsigned', derefcnt=0, name='flags')]), @@ -1960,7 +1960,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_VERIFY_PARAM_get_flags': Function(type='unsigned', derefcnt=0, name='X509_VERIFY_PARAM_get_flags', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param')]), 'X509_VERIFY_PARAM_inherit': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_inherit', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='to'), Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='from')]), 'X509_VERIFY_PARAM_lookup': Function(type='X509_VERIFY_PARAM', derefcnt=1, name='X509_VERIFY_PARAM_lookup', args=[Argument(type='char', derefcnt=1, name='name')]), - 'X509_VERIFY_PARAM_new': Function(type='X509_VERIFY_PARAM', derefcnt=1, name='X509_VERIFY_PARAM_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_VERIFY_PARAM_new': Function(type='X509_VERIFY_PARAM', derefcnt=1, name='X509_VERIFY_PARAM_new', args=[]), 'X509_VERIFY_PARAM_set1': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_set1', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='to'), Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='from')]), 'X509_VERIFY_PARAM_set1_name': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_set1_name', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param'), Argument(type='char', derefcnt=1, name='name')]), 'X509_VERIFY_PARAM_set1_policies': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_set1_policies', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param'), Argument(type='stack_st_ASN1_OBJECT', derefcnt=1, name='policies')]), @@ -1969,7 +1969,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_VERIFY_PARAM_set_purpose': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_set_purpose', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param'), Argument(type='int', derefcnt=0, name='purpose')]), 'X509_VERIFY_PARAM_set_time': Function(type='void', derefcnt=0, name='X509_VERIFY_PARAM_set_time', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param'), Argument(type='time_t', derefcnt=0, name='t')]), 'X509_VERIFY_PARAM_set_trust': Function(type='int', derefcnt=0, name='X509_VERIFY_PARAM_set_trust', args=[Argument(type='X509_VERIFY_PARAM', derefcnt=1, name='param'), Argument(type='int', derefcnt=0, name='trust')]), - 'X509_VERIFY_PARAM_table_cleanup': Function(type='void', derefcnt=0, name='X509_VERIFY_PARAM_table_cleanup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_VERIFY_PARAM_table_cleanup': Function(type='void', derefcnt=0, name='X509_VERIFY_PARAM_table_cleanup', args=[]), 'X509_add1_ext_i2d': Function(type='int', derefcnt=0, name='X509_add1_ext_i2d', args=[Argument(type='X509', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='nid'), Argument(type='void', derefcnt=1, name='value'), Argument(type='int', derefcnt=0, name='crit'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'X509_add1_reject_object': Function(type='int', derefcnt=0, name='X509_add1_reject_object', args=[Argument(type='X509', derefcnt=1, name='x'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj')]), 'X509_add1_trust_object': Function(type='int', derefcnt=0, name='X509_add1_trust_object', args=[Argument(type='X509', derefcnt=1, name='x'), Argument(type='ASN1_OBJECT', derefcnt=1, name='obj')]), @@ -1989,12 +1989,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_find_by_subject': Function(type='X509', derefcnt=1, name='X509_find_by_subject', args=[Argument(type='stack_st_X509', derefcnt=1, name='sk'), Argument(type='X509_NAME', derefcnt=1, name='name')]), 'X509_free': Function(type='void', derefcnt=0, name='X509_free', args=[Argument(type='X509', derefcnt=1, name='a')]), 'X509_get0_pubkey_bitstr': Function(type='ASN1_BIT_STRING', derefcnt=1, name='X509_get0_pubkey_bitstr', args=[Argument(type='X509', derefcnt=1, name='x')]), - 'X509_get_default_cert_area': Function(type='char', derefcnt=1, name='X509_get_default_cert_area', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'X509_get_default_cert_dir': Function(type='char', derefcnt=1, name='X509_get_default_cert_dir', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'X509_get_default_cert_dir_env': Function(type='char', derefcnt=1, name='X509_get_default_cert_dir_env', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'X509_get_default_cert_file': Function(type='char', derefcnt=1, name='X509_get_default_cert_file', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'X509_get_default_cert_file_env': Function(type='char', derefcnt=1, name='X509_get_default_cert_file_env', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'X509_get_default_private_dir': Function(type='char', derefcnt=1, name='X509_get_default_private_dir', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_get_default_cert_area': Function(type='char', derefcnt=1, name='X509_get_default_cert_area', args=[]), + 'X509_get_default_cert_dir': Function(type='char', derefcnt=1, name='X509_get_default_cert_dir', args=[]), + 'X509_get_default_cert_dir_env': Function(type='char', derefcnt=1, name='X509_get_default_cert_dir_env', args=[]), + 'X509_get_default_cert_file': Function(type='char', derefcnt=1, name='X509_get_default_cert_file', args=[]), + 'X509_get_default_cert_file_env': Function(type='char', derefcnt=1, name='X509_get_default_cert_file_env', args=[]), + 'X509_get_default_private_dir': Function(type='char', derefcnt=1, name='X509_get_default_private_dir', args=[]), 'X509_get_ex_data': Function(type='void', derefcnt=1, name='X509_get_ex_data', args=[Argument(type='X509', derefcnt=1, name='r'), Argument(type='int', derefcnt=0, name='idx')]), 'X509_get_ex_new_index': Function(type='int', derefcnt=0, name='X509_get_ex_new_index', args=[Argument(type='long', derefcnt=0, name='argl'), Argument(type='void', derefcnt=1, name='argp'), Argument(type='CRYPTO_EX_new', derefcnt=1, name='new_func'), Argument(type='CRYPTO_EX_dup', derefcnt=1, name='dup_func'), Argument(type='CRYPTO_EX_free', derefcnt=1, name='free_func')]), 'X509_get_ext': Function(type='X509_EXTENSION', derefcnt=1, name='X509_get_ext', args=[Argument(type='X509', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='loc')]), @@ -2019,7 +2019,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509_load_cert_crl_file': Function(type='int', derefcnt=0, name='X509_load_cert_crl_file', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='type')]), 'X509_load_cert_file': Function(type='int', derefcnt=0, name='X509_load_cert_file', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='type')]), 'X509_load_crl_file': Function(type='int', derefcnt=0, name='X509_load_crl_file', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='type')]), - 'X509_new': Function(type='X509', derefcnt=1, name='X509_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'X509_new': Function(type='X509', derefcnt=1, name='X509_new', args=[]), 'X509_ocspid_print': Function(type='int', derefcnt=0, name='X509_ocspid_print', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='X509', derefcnt=1, name='x')]), 'X509_policy_check': Function(type='int', derefcnt=0, name='X509_policy_check', args=[Argument(type='X509_POLICY_TREE', derefcnt=2, name='ptree'), Argument(type='int', derefcnt=1, name='pexplicit_policy'), Argument(type='stack_st_X509', derefcnt=1, name='certs'), Argument(type='stack_st_ASN1_OBJECT', derefcnt=1, name='policy_oids'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'X509_policy_level_get0_node': Function(type='X509_POLICY_NODE', derefcnt=1, name='X509_policy_level_get0_node', args=[Argument(type='X509_POLICY_LEVEL', derefcnt=1, name='level'), Argument(type='int', derefcnt=0, name='i')]), @@ -2078,12 +2078,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'X509v3_get_ext_by_critical': Function(type='int', derefcnt=0, name='X509v3_get_ext_by_critical', args=[Argument(type='stack_st_X509_EXTENSION', derefcnt=1, name='x'), Argument(type='int', derefcnt=0, name='crit'), Argument(type='int', derefcnt=0, name='lastpos')]), 'X509v3_get_ext_count': Function(type='int', derefcnt=0, name='X509v3_get_ext_count', args=[Argument(type='stack_st_X509_EXTENSION', derefcnt=1, name='x')]), 'a2d_ASN1_OBJECT': Function(type='int', derefcnt=0, name='a2d_ASN1_OBJECT', args=[Argument(type='unsigned', derefcnt=1, name='out'), Argument(type='int', derefcnt=0, name='olen'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='num')]), - 'a2i': Function(type='int', derefcnt=0, name='a2i', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'a2i': Function(type='int', derefcnt=0, name='a2i', args=[]), 'a2i_ASN1_ENUMERATED': Function(type='int', derefcnt=0, name='a2i_ASN1_ENUMERATED', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='ASN1_ENUMERATED', derefcnt=1, name='bs'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='size')]), 'a2i_ASN1_INTEGER': Function(type='int', derefcnt=0, name='a2i_ASN1_INTEGER', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='ASN1_INTEGER', derefcnt=1, name='bs'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='size')]), 'a2i_ASN1_STRING': Function(type='int', derefcnt=0, name='a2i_ASN1_STRING', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='ASN1_STRING', derefcnt=1, name='bs'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='size')]), 'a64l': Function(type='long', derefcnt=0, name='a64l', args=[Argument(type='char', derefcnt=1, name='s')]), - 'abort': Function(type='void', derefcnt=0, name='abort', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'abort': Function(type='void', derefcnt=0, name='abort', args=[]), 'abs': Function(type='int', derefcnt=0, name='abs', args=[Argument(type='int', derefcnt=0, name='x')]), 'accept': Function(type='int', derefcnt=0, name='accept', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='SOCKADDR_ARG', derefcnt=0, name='addr'), Argument(type='socklen_t', derefcnt=1, name='addr_len')]), 'accept4': Function(type='int', derefcnt=0, name='accept4', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='SOCKADDR_ARG', derefcnt=0, name='addr'), Argument(type='socklen_t', derefcnt=1, name='addr_len'), Argument(type='int', derefcnt=0, name='flags')]), @@ -2103,7 +2103,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'adler32_combine': Function(type='uLong', derefcnt=0, name='adler32_combine', args=[Argument(type='uLong', derefcnt=0, name='arg0'), Argument(type='uLong', derefcnt=0, name='arg1'), Argument(type='off_t', derefcnt=0, name='arg2')]), 'adler32_combine64': Function(type='uLong', derefcnt=0, name='adler32_combine64', args=[Argument(type='uLong', derefcnt=0, name='arg0'), Argument(type='uLong', derefcnt=0, name='arg1'), Argument(type='off64_t', derefcnt=0, name='arg2')]), 'advance': Function(type='int', derefcnt=0, name='advance', args=[Argument(type='char', derefcnt=1, name='string'), Argument(type='char', derefcnt=1, name='expbuf')]), - 'after_morecore_hook': Function(type='void', derefcnt=0, name='after_morecore_hook', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'after_morecore_hook': Function(type='void', derefcnt=0, name='after_morecore_hook', args=[]), 'aio_cancel': Function(type='int', derefcnt=0, name='aio_cancel', args=[Argument(type='int', derefcnt=0, name='fildes'), Argument(type='aiocb', derefcnt=1, name='aiocbp')]), 'aio_cancel64': Function(type='int', derefcnt=0, name='aio_cancel64', args=[Argument(type='int', derefcnt=0, name='fildes'), Argument(type='aiocb64', derefcnt=1, name='aiocbp')]), 'aio_error': Function(type='int', derefcnt=0, name='aio_error', args=[Argument(type='aiocb', derefcnt=1, name='aiocbp')]), @@ -2214,6 +2214,8 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'brk': Function(type='int', derefcnt=0, name='brk', args=[Argument(type='void', derefcnt=1, name='addr')]), 'bsd_signal': Function(type='sighandler_t', derefcnt=0, name='bsd_signal', args=[Argument(type='int', derefcnt=0, name='sig'), Argument(type='sighandler_t', derefcnt=0, name='handler')]), 'bsearch': Function(type='void', derefcnt=1, name='bsearch', args=[Argument(type='void', derefcnt=1, name='key'), Argument(type='void', derefcnt=1, name='base'), Argument(type='size_t', derefcnt=0, name='nmemb'), Argument(type='size_t', derefcnt=0, name='size'), Argument(type='compar_fn_t', derefcnt=0, name='compar')]), + 'bswap_32': Function(type='unsigned', derefcnt=0, name='bswap_32', args=[Argument(type='unsigned', derefcnt=0, name='bsx')]), + 'bswap_64': Function(type='uint64_t', derefcnt=0, name='bswap_64', args=[Argument(type='uint64_t', derefcnt=0, name='bsx')]), 'btowc': Function(type='wint_t', derefcnt=0, name='btowc', args=[Argument(type='int', derefcnt=0, name='c')]), 'bwrite': Function(type='int', derefcnt=0, name='bwrite', args=[Argument(type='BIO', derefcnt=1, name='arg0'), Argument(type='char', derefcnt=1, name='arg1'), Argument(type='int', derefcnt=0, name='arg2')]), 'bzero': Function(type='void', derefcnt=0, name='bzero', args=[Argument(type='void', derefcnt=1, name='s'), Argument(type='size_t', derefcnt=0, name='n')]), @@ -2292,11 +2294,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'cimagf': Function(type='float', derefcnt=0, name='cimagf', args=[Argument(type='float', derefcnt=0, name='z')]), 'cimagl': Function(type='long', derefcnt=0, name='cimagl', args=[Argument(type='long', derefcnt=0, name='z')]), 'cleanup': Function(type='int', derefcnt=0, name='cleanup', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx')]), - 'clearenv': Function(type='int', derefcnt=0, name='clearenv', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'clearenv': Function(type='int', derefcnt=0, name='clearenv', args=[]), 'clearerr': Function(type='void', derefcnt=0, name='clearerr', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'clearerr_unlocked': Function(type='void', derefcnt=0, name='clearerr_unlocked', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'client_cert_cb': Function(type='int', derefcnt=0, name='client_cert_cb', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='X509', derefcnt=2, name='x509'), Argument(type='EVP_PKEY', derefcnt=2, name='pkey')]), - 'clock': Function(type='clock_t', derefcnt=0, name='clock', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'clock': Function(type='clock_t', derefcnt=0, name='clock', args=[]), 'clock_adjtime': Function(type='int', derefcnt=0, name='clock_adjtime', args=[Argument(type='clockid_t', derefcnt=0, name='clock_id'), Argument(type='timex', derefcnt=1, name='utx')]), 'clock_getcpuclockid': Function(type='int', derefcnt=0, name='clock_getcpuclockid', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='clockid_t', derefcnt=1, name='clock_id')]), 'clock_getres': Function(type='int', derefcnt=0, name='clock_getres', args=[Argument(type='clockid_t', derefcnt=0, name='clock_id'), Argument(type='timespec', derefcnt=1, name='res')]), @@ -2312,7 +2314,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'clone': Function(type='int', derefcnt=0, name='clone', args=[Argument(type='int', derefcnt=0, name='fn'), Argument(type='void', derefcnt=1, name='child_stack'), Argument(type='int', derefcnt=0, name='flags'), Argument(type='void', derefcnt=1, name='arg'), Argument(type='int', derefcnt=0, name='vararg')]), 'close': Function(type='int', derefcnt=0, name='close', args=[Argument(type='int', derefcnt=0, name='fd')]), 'closedir': Function(type='int', derefcnt=0, name='closedir', args=[Argument(type='DIR', derefcnt=1, name='dirp')]), - 'closelog': Function(type='void', derefcnt=0, name='closelog', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'closelog': Function(type='void', derefcnt=0, name='closelog', args=[]), 'cmsg_nxthdr': Function(type='cmsghdr', derefcnt=1, name='cmsg_nxthdr', args=[Argument(type='msghdr', derefcnt=1, name='mhdr'), Argument(type='cmsghdr', derefcnt=1, name='cmsg')]), 'comp': Function(type='int', derefcnt=0, name='comp', args=[Argument(type='void', derefcnt=1, name='arg0'), Argument(type='void', derefcnt=1, name='arg1')]), 'compar_d_fn_t': Function(type='int', derefcnt=0, name='compar_d_fn_t', args=[Argument(type='void', derefcnt=1, name='arg0'), Argument(type='void', derefcnt=1, name='arg1'), Argument(type='void', derefcnt=1, name='arg2')]), @@ -2373,10 +2375,10 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ctime': Function(type='char', derefcnt=1, name='ctime', args=[Argument(type='time_t', derefcnt=1, name='timer')]), 'ctime_r': Function(type='char', derefcnt=1, name='ctime_r', args=[Argument(type='time_t', derefcnt=1, name='timer'), Argument(type='char', derefcnt=1, name='buf')]), 'ctrl': Function(type='int', derefcnt=0, name='ctrl', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='cmd'), Argument(type='char', derefcnt=1, name='argc'), Argument(type='long', derefcnt=0, name='argl'), Argument(type='char', derefcnt=2, name='ret')]), - 'ctype_b_loc': Function(type='unsigned', derefcnt=2, name='ctype_b_loc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ctype_get_mb_cur_max': Function(type='size_t', derefcnt=0, name='ctype_get_mb_cur_max', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ctype_tolower_loc': Function(type='int32_t', derefcnt=2, name='ctype_tolower_loc', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'ctype_toupper_loc': Function(type='int32_t', derefcnt=2, name='ctype_toupper_loc', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ctype_b_loc': Function(type='unsigned', derefcnt=2, name='ctype_b_loc', args=[]), + 'ctype_get_mb_cur_max': Function(type='size_t', derefcnt=0, name='ctype_get_mb_cur_max', args=[]), + 'ctype_tolower_loc': Function(type='int32_t', derefcnt=2, name='ctype_tolower_loc', args=[]), + 'ctype_toupper_loc': Function(type='int32_t', derefcnt=2, name='ctype_toupper_loc', args=[]), 'cuserid': Function(type='char', derefcnt=1, name='cuserid', args=[Argument(type='char', derefcnt=1, name='s')]), 'd2i_ASN1_BIT_STRING': Function(type='ASN1_BIT_STRING', derefcnt=1, name='d2i_ASN1_BIT_STRING', args=[Argument(type='ASN1_BIT_STRING', derefcnt=2, name='a'), Argument(type='unsigned', derefcnt=2, name='in'), Argument(type='long', derefcnt=0, name='len')]), 'd2i_ASN1_BMPSTRING': Function(type='ASN1_BMPSTRING', derefcnt=1, name='d2i_ASN1_BMPSTRING', args=[Argument(type='ASN1_BMPSTRING', derefcnt=2, name='a'), Argument(type='unsigned', derefcnt=2, name='in'), Argument(type='long', derefcnt=0, name='len')]), @@ -2530,7 +2532,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'dladdr': Function(type='int', derefcnt=0, name='dladdr', args=[Argument(type='void', derefcnt=1, name='address'), Argument(type='Dl_info', derefcnt=1, name='info')]), 'dladdr1': Function(type='int', derefcnt=0, name='dladdr1', args=[Argument(type='void', derefcnt=1, name='address'), Argument(type='Dl_info', derefcnt=1, name='info'), Argument(type='void', derefcnt=2, name='extra_info'), Argument(type='int', derefcnt=0, name='flags')]), 'dlclose': Function(type='int', derefcnt=0, name='dlclose', args=[Argument(type='void', derefcnt=1, name='handle')]), - 'dlerror': Function(type='char', derefcnt=1, name='dlerror', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'dlerror': Function(type='char', derefcnt=1, name='dlerror', args=[]), 'dlinfo': Function(type='int', derefcnt=0, name='dlinfo', args=[Argument(type='void', derefcnt=1, name='handle'), Argument(type='int', derefcnt=0, name='request'), Argument(type='void', derefcnt=1, name='arg')]), 'dlmopen': Function(type='void', derefcnt=1, name='dlmopen', args=[Argument(type='Lmid_t', derefcnt=0, name='nsid'), Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='mode')]), 'dlopen': Function(type='void', derefcnt=1, name='dlopen', args=[Argument(type='char', derefcnt=1, name='file'), Argument(type='int', derefcnt=0, name='mode')]), @@ -2543,7 +2545,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'dngettext': Function(type='char', derefcnt=1, name='dngettext', args=[Argument(type='char', derefcnt=1, name='domainname'), Argument(type='char', derefcnt=1, name='msgid1'), Argument(type='char', derefcnt=1, name='msgid2'), Argument(type='unsigned', derefcnt=0, name='n')]), 'do_cipher': Function(type='int', derefcnt=0, name='do_cipher', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ctx'), Argument(type='unsigned', derefcnt=1, name='out'), Argument(type='unsigned', derefcnt=1, name='in'), Argument(type='size_t', derefcnt=0, name='inl')]), 'dprintf': Function(type='int', derefcnt=0, name='dprintf', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='char', derefcnt=1, name='fmt'), Argument(type='int', derefcnt=0, name='vararg')]), - 'drand48': Function(type='double', derefcnt=0, name='drand48', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'drand48': Function(type='double', derefcnt=0, name='drand48', args=[]), 'drand48_r': Function(type='int', derefcnt=0, name='drand48_r', args=[Argument(type='drand48_data', derefcnt=1, name='buffer'), Argument(type='double', derefcnt=1, name='result')]), 'drem': Function(type='double', derefcnt=0, name='drem', args=[Argument(type='double', derefcnt=0, name='x'), Argument(type='double', derefcnt=0, name='y')]), 'dremf': Function(type='float', derefcnt=0, name='dremf', args=[Argument(type='float', derefcnt=0, name='x'), Argument(type='float', derefcnt=0, name='y')]), @@ -2564,23 +2566,23 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ecvt_r': Function(type='int', derefcnt=0, name='ecvt_r', args=[Argument(type='double', derefcnt=0, name='value'), Argument(type='int', derefcnt=0, name='ndigit'), Argument(type='int', derefcnt=1, name='decpt'), Argument(type='int', derefcnt=1, name='sign'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='len')]), 'encrypt': Function(type='void', derefcnt=0, name='encrypt', args=[Argument(type='char', derefcnt=1, name='glibc_block'), Argument(type='int', derefcnt=0, name='edflag')]), 'encrypt_r': Function(type='void', derefcnt=0, name='encrypt_r', args=[Argument(type='char', derefcnt=1, name='glibc_block'), Argument(type='int', derefcnt=0, name='edflag'), Argument(type='crypt_data', derefcnt=1, name='data')]), - 'endaliasent': Function(type='void', derefcnt=0, name='endaliasent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endfsent': Function(type='void', derefcnt=0, name='endfsent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endgrent': Function(type='void', derefcnt=0, name='endgrent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endhostent': Function(type='void', derefcnt=0, name='endhostent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'endaliasent': Function(type='void', derefcnt=0, name='endaliasent', args=[]), + 'endfsent': Function(type='void', derefcnt=0, name='endfsent', args=[]), + 'endgrent': Function(type='void', derefcnt=0, name='endgrent', args=[]), + 'endhostent': Function(type='void', derefcnt=0, name='endhostent', args=[]), 'endmntent': Function(type='int', derefcnt=0, name='endmntent', args=[Argument(type='FILE', derefcnt=1, name='stream')]), - 'endnetent': Function(type='void', derefcnt=0, name='endnetent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endnetgrent': Function(type='void', derefcnt=0, name='endnetgrent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endprotoent': Function(type='void', derefcnt=0, name='endprotoent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endpwent': Function(type='void', derefcnt=0, name='endpwent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endrpcent': Function(type='void', derefcnt=0, name='endrpcent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endservent': Function(type='void', derefcnt=0, name='endservent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endsgent': Function(type='void', derefcnt=0, name='endsgent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endspent': Function(type='void', derefcnt=0, name='endspent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endttyent': Function(type='int', derefcnt=0, name='endttyent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endusershell': Function(type='void', derefcnt=0, name='endusershell', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endutent': Function(type='void', derefcnt=0, name='endutent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'endutxent': Function(type='void', derefcnt=0, name='endutxent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'endnetent': Function(type='void', derefcnt=0, name='endnetent', args=[]), + 'endnetgrent': Function(type='void', derefcnt=0, name='endnetgrent', args=[]), + 'endprotoent': Function(type='void', derefcnt=0, name='endprotoent', args=[]), + 'endpwent': Function(type='void', derefcnt=0, name='endpwent', args=[]), + 'endrpcent': Function(type='void', derefcnt=0, name='endrpcent', args=[]), + 'endservent': Function(type='void', derefcnt=0, name='endservent', args=[]), + 'endsgent': Function(type='void', derefcnt=0, name='endsgent', args=[]), + 'endspent': Function(type='void', derefcnt=0, name='endspent', args=[]), + 'endttyent': Function(type='int', derefcnt=0, name='endttyent', args=[]), + 'endusershell': Function(type='void', derefcnt=0, name='endusershell', args=[]), + 'endutent': Function(type='void', derefcnt=0, name='endutent', args=[]), + 'endutxent': Function(type='void', derefcnt=0, name='endutxent', args=[]), 'envz_add': Function(type='error_t', derefcnt=0, name='envz_add', args=[Argument(type='char', derefcnt=2, name='envz'), Argument(type='size_t', derefcnt=1, name='envz_len'), Argument(type='char', derefcnt=1, name='name'), Argument(type='char', derefcnt=1, name='value')]), 'envz_entry': Function(type='char', derefcnt=1, name='envz_entry', args=[Argument(type='char', derefcnt=1, name='envz'), Argument(type='size_t', derefcnt=0, name='envz_len'), Argument(type='char', derefcnt=1, name='name')]), 'envz_get': Function(type='char', derefcnt=1, name='envz_get', args=[Argument(type='char', derefcnt=1, name='envz'), Argument(type='size_t', derefcnt=0, name='envz_len'), Argument(type='char', derefcnt=1, name='name')]), @@ -2601,10 +2603,14 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'erff': Function(type='float', derefcnt=0, name='erff', args=[Argument(type='float', derefcnt=0, name='arg0')]), 'erfl': Function(type='long', derefcnt=0, name='erfl', args=[Argument(type='long', derefcnt=0, name='arg0')]), 'err': Function(type='void', derefcnt=0, name='err', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), - 'errno_location': Function(type='int', derefcnt=1, name='errno_location', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'errno_location': Function(type='int', derefcnt=1, name='errno_location', args=[]), 'error': Function(type='void', derefcnt=0, name='error', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='int', derefcnt=0, name='errnum'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), - 'error_at_line': Function(type='void', derefcnt=0, name='error_at_line', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='int', derefcnt=0, name='errnum'), Argument(type='char', derefcnt=1, name='fname'), Argument(type='unsigned', derefcnt=0, name='lineno'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), - 'error_print_progname': Function(type='void', derefcnt=0, name='error_print_progname', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'error_alias': Function(type='void', derefcnt=0, name='error_alias', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='int', derefcnt=0, name='errnum'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), + 'error_at_line': Function(type='void', derefcnt=0, name='error_at_line', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='int', derefcnt=0, name='errnum'), Argument(type='char', derefcnt=1, name='fname'), Argument(type='unsigned', derefcnt=0, name='line'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), + 'error_at_line_alias': Function(type='void', derefcnt=0, name='error_at_line_alias', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='int', derefcnt=0, name='errnum'), Argument(type='char', derefcnt=1, name='fname'), Argument(type='unsigned', derefcnt=0, name='line'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), + 'error_at_line_noreturn': Function(type='void', derefcnt=0, name='error_at_line_noreturn', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='int', derefcnt=0, name='errnum'), Argument(type='char', derefcnt=1, name='fname'), Argument(type='unsigned', derefcnt=0, name='line'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), + 'error_noreturn': Function(type='void', derefcnt=0, name='error_noreturn', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='int', derefcnt=0, name='errnum'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), + 'error_print_progname': Function(type='void', derefcnt=0, name='error_print_progname', args=[]), 'errx': Function(type='void', derefcnt=0, name='errx', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), 'euidaccess': Function(type='int', derefcnt=0, name='euidaccess', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='type')]), 'evp_sign_method': Function(type='int', derefcnt=0, name='evp_sign_method', args=[Argument(type='int', derefcnt=0, name='type'), Argument(type='unsigned', derefcnt=1, name='m'), Argument(type='unsigned', derefcnt=0, name='m_length'), Argument(type='unsigned', derefcnt=1, name='sigret'), Argument(type='unsigned', derefcnt=1, name='siglen'), Argument(type='void', derefcnt=1, name='key')]), @@ -2644,7 +2650,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'fchown': Function(type='int', derefcnt=0, name='fchown', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='uid_t', derefcnt=0, name='owner'), Argument(type='gid_t', derefcnt=0, name='group')]), 'fchownat': Function(type='int', derefcnt=0, name='fchownat', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='char', derefcnt=1, name='file'), Argument(type='uid_t', derefcnt=0, name='owner'), Argument(type='gid_t', derefcnt=0, name='group'), Argument(type='int', derefcnt=0, name='flag')]), 'fclose': Function(type='int', derefcnt=0, name='fclose', args=[Argument(type='FILE', derefcnt=1, name='stream')]), - 'fcloseall': Function(type='int', derefcnt=0, name='fcloseall', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'fcloseall': Function(type='int', derefcnt=0, name='fcloseall', args=[]), 'fcntl': Function(type='int', derefcnt=0, name='fcntl', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='int', derefcnt=0, name='cmd'), Argument(type='int', derefcnt=0, name='vararg')]), 'fcvt': Function(type='char', derefcnt=1, name='fcvt', args=[Argument(type='double', derefcnt=0, name='value'), Argument(type='int', derefcnt=0, name='ndigit'), Argument(type='int', derefcnt=1, name='decpt'), Argument(type='int', derefcnt=1, name='sign')]), 'fcvt_r': Function(type='int', derefcnt=0, name='fcvt_r', args=[Argument(type='double', derefcnt=0, name='value'), Argument(type='int', derefcnt=0, name='ndigit'), Argument(type='int', derefcnt=1, name='decpt'), Argument(type='int', derefcnt=1, name='sign'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='len')]), @@ -2659,9 +2665,9 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'fedisableexcept': Function(type='int', derefcnt=0, name='fedisableexcept', args=[Argument(type='int', derefcnt=0, name='excepts')]), 'feenableexcept': Function(type='int', derefcnt=0, name='feenableexcept', args=[Argument(type='int', derefcnt=0, name='excepts')]), 'fegetenv': Function(type='int', derefcnt=0, name='fegetenv', args=[Argument(type='fenv_t', derefcnt=1, name='envp')]), - 'fegetexcept': Function(type='int', derefcnt=0, name='fegetexcept', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'fegetexcept': Function(type='int', derefcnt=0, name='fegetexcept', args=[]), 'fegetexceptflag': Function(type='int', derefcnt=0, name='fegetexceptflag', args=[Argument(type='fexcept_t', derefcnt=1, name='flagp'), Argument(type='int', derefcnt=0, name='excepts')]), - 'fegetround': Function(type='int', derefcnt=0, name='fegetround', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'fegetround': Function(type='int', derefcnt=0, name='fegetround', args=[]), 'feholdexcept': Function(type='int', derefcnt=0, name='feholdexcept', args=[Argument(type='fenv_t', derefcnt=1, name='envp')]), 'feof': Function(type='int', derefcnt=0, name='feof', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'feof_unlocked': Function(type='int', derefcnt=0, name='feof_unlocked', args=[Argument(type='FILE', derefcnt=1, name='stream')]), @@ -2710,7 +2716,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'floor': Function(type='double', derefcnt=0, name='floor', args=[Argument(type='double', derefcnt=0, name='x')]), 'floorf': Function(type='float', derefcnt=0, name='floorf', args=[Argument(type='float', derefcnt=0, name='x')]), 'floorl': Function(type='long', derefcnt=0, name='floorl', args=[Argument(type='long', derefcnt=0, name='x')]), - 'flushlbf': Function(type='void', derefcnt=0, name='flushlbf', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'flushlbf': Function(type='void', derefcnt=0, name='flushlbf', args=[]), 'fma': Function(type='double', derefcnt=0, name='fma', args=[Argument(type='double', derefcnt=0, name='x'), Argument(type='double', derefcnt=0, name='y'), Argument(type='double', derefcnt=0, name='z')]), 'fmaf': Function(type='float', derefcnt=0, name='fmaf', args=[Argument(type='float', derefcnt=0, name='x'), Argument(type='float', derefcnt=0, name='y'), Argument(type='float', derefcnt=0, name='z')]), 'fmal': Function(type='long', derefcnt=0, name='fmal', args=[Argument(type='long', derefcnt=0, name='x'), Argument(type='long', derefcnt=0, name='y'), Argument(type='long', derefcnt=0, name='z')]), @@ -2729,7 +2735,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'fopen': Function(type='FILE', derefcnt=1, name='fopen', args=[Argument(type='char', derefcnt=1, name='filename'), Argument(type='char', derefcnt=1, name='modes')]), 'fopen64': Function(type='FILE', derefcnt=1, name='fopen64', args=[Argument(type='char', derefcnt=1, name='filename'), Argument(type='char', derefcnt=1, name='modes')]), 'fopencookie': Function(type='FILE', derefcnt=1, name='fopencookie', args=[Argument(type='void', derefcnt=1, name='magic_cookie'), Argument(type='char', derefcnt=1, name='modes'), Argument(type='IO_cookie_io_functions_t', derefcnt=0, name='io_funcs')]), - 'fork': Function(type='pid_t', derefcnt=0, name='fork', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'fork': Function(type='pid_t', derefcnt=0, name='fork', args=[]), 'forkpty': Function(type='int', derefcnt=0, name='forkpty', args=[Argument(type='int', derefcnt=1, name='amaster'), Argument(type='char', derefcnt=1, name='name'), Argument(type='termios', derefcnt=1, name='termp'), Argument(type='winsize', derefcnt=1, name='winp')]), 'fp_nquery': Function(type='void', derefcnt=0, name='fp_nquery', args=[Argument(type='u_char', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='FILE', derefcnt=1, name='arg2')]), 'fp_query': Function(type='void', derefcnt=0, name='fp_query', args=[Argument(type='u_char', derefcnt=1, name='arg0'), Argument(type='FILE', derefcnt=1, name='arg1')]), @@ -2822,7 +2828,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'gconv_end_fct': Function(type='void', derefcnt=0, name='gconv_end_fct', args=[Argument(type='gconv_step', derefcnt=1, name='arg0')]), 'gconv_fct': Function(type='int', derefcnt=0, name='gconv_fct', args=[Argument(type='gconv_step', derefcnt=1, name='arg0'), Argument(type='gconv_step_data', derefcnt=1, name='arg1'), Argument(type='unsigned', derefcnt=2, name='arg2'), Argument(type='unsigned', derefcnt=1, name='arg3'), Argument(type='unsigned', derefcnt=2, name='arg4'), Argument(type='size_t', derefcnt=1, name='arg5'), Argument(type='int', derefcnt=0, name='arg6'), Argument(type='int', derefcnt=0, name='arg7')]), 'gconv_init_fct': Function(type='int', derefcnt=0, name='gconv_init_fct', args=[Argument(type='gconv_step', derefcnt=1, name='arg0')]), - 'gconv_transliterate': Function(type='int', derefcnt=0, name='gconv_transliterate', args=[Argument(type='gconv_step', derefcnt=1, name='step'), Argument(type='gconv_step_data', derefcnt=1, name='step_data'), Argument(type='unsigned', derefcnt=1, name='inbufstart'), Argument(type='unsigned', derefcnt=2, name='inbufp'), Argument(type='unsigned', derefcnt=1, name='inbufend'), Argument(type='unsigned', derefcnt=2, name='outbufstart'), Argument(type='size_t', derefcnt=1, name='irreversible')]), + 'gconv_trans_context_fct': Function(type='int', derefcnt=0, name='gconv_trans_context_fct', args=[Argument(type='void', derefcnt=1, name='arg0'), Argument(type='unsigned', derefcnt=1, name='arg1'), Argument(type='unsigned', derefcnt=1, name='arg2'), Argument(type='unsigned', derefcnt=1, name='arg3'), Argument(type='unsigned', derefcnt=1, name='arg4')]), + 'gconv_trans_end_fct': Function(type='void', derefcnt=0, name='gconv_trans_end_fct', args=[Argument(type='void', derefcnt=1, name='arg0')]), + 'gconv_trans_fct': Function(type='int', derefcnt=0, name='gconv_trans_fct', args=[Argument(type='gconv_step', derefcnt=1, name='arg0'), Argument(type='gconv_step_data', derefcnt=1, name='arg1'), Argument(type='void', derefcnt=1, name='arg2'), Argument(type='unsigned', derefcnt=1, name='arg3'), Argument(type='unsigned', derefcnt=2, name='arg4'), Argument(type='unsigned', derefcnt=1, name='arg5'), Argument(type='unsigned', derefcnt=2, name='arg6'), Argument(type='size_t', derefcnt=1, name='arg7')]), + 'gconv_trans_init_fct': Function(type='int', derefcnt=0, name='gconv_trans_init_fct', args=[Argument(type='void', derefcnt=2, name='arg0'), Argument(type='char', derefcnt=1, name='arg1')]), + 'gconv_trans_query_fct': Function(type='int', derefcnt=0, name='gconv_trans_query_fct', args=[Argument(type='char', derefcnt=1, name='arg0'), Argument(type='char', derefcnt=3, name='arg1'), Argument(type='size_t', derefcnt=1, name='arg2')]), 'gcvt': Function(type='char', derefcnt=1, name='gcvt', args=[Argument(type='double', derefcnt=0, name='value'), Argument(type='int', derefcnt=0, name='ndigit'), Argument(type='char', derefcnt=1, name='buf')]), 'generate_key': Function(type='int', derefcnt=0, name='generate_key', args=[Argument(type='DH', derefcnt=1, name='dh')]), 'generate_params': Function(type='int', derefcnt=0, name='generate_params', args=[Argument(type='DH', derefcnt=1, name='dh'), Argument(type='int', derefcnt=0, name='prime_len'), Argument(type='int', derefcnt=0, name='generator'), Argument(type='BN_GENCB', derefcnt=1, name='cb')]), @@ -2833,9 +2843,9 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'get_by_subject': Function(type='int', derefcnt=0, name='get_by_subject', args=[Argument(type='X509_LOOKUP', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='type'), Argument(type='X509_NAME', derefcnt=1, name='name'), Argument(type='X509_OBJECT', derefcnt=1, name='ret')]), 'get_cipher': Function(type='SSL_CIPHER', derefcnt=1, name='get_cipher', args=[Argument(type='unsigned', derefcnt=0, name='ncipher')]), 'get_cipher_by_char': Function(type='SSL_CIPHER', derefcnt=1, name='get_cipher_by_char', args=[Argument(type='unsigned', derefcnt=1, name='ptr')]), - 'get_crc_table': Function(type='z_crc_t', derefcnt=1, name='get_crc_table', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'get_crc_table': Function(type='z_crc_t', derefcnt=1, name='get_crc_table', args=[]), 'get_crl': Function(type='int', derefcnt=0, name='get_crl', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx'), Argument(type='X509_CRL', derefcnt=2, name='crl'), Argument(type='X509', derefcnt=1, name='x')]), - 'get_current_dir_name': Function(type='char', derefcnt=1, name='get_current_dir_name', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'get_current_dir_name': Function(type='char', derefcnt=1, name='get_current_dir_name', args=[]), 'get_issuer': Function(type='int', derefcnt=0, name='get_issuer', args=[Argument(type='X509', derefcnt=2, name='issuer'), Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx'), Argument(type='X509', derefcnt=1, name='x')]), 'get_rfc2409_prime_1024': Function(type='BIGNUM', derefcnt=1, name='get_rfc2409_prime_1024', args=[Argument(type='BIGNUM', derefcnt=1, name='bn')]), 'get_rfc2409_prime_768': Function(type='BIGNUM', derefcnt=1, name='get_rfc2409_prime_768', args=[Argument(type='BIGNUM', derefcnt=1, name='bn')]), @@ -2847,17 +2857,17 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'get_rfc3526_prime_8192': Function(type='BIGNUM', derefcnt=1, name='get_rfc3526_prime_8192', args=[Argument(type='BIGNUM', derefcnt=1, name='bn')]), 'get_session_cb': Function(type='SSL_SESSION', derefcnt=1, name='get_session_cb', args=[Argument(type='ssl_st', derefcnt=1, name='ssl'), Argument(type='unsigned', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='len'), Argument(type='int', derefcnt=1, name='copy')]), 'get_ssl_method': Function(type='ssl_method_st', derefcnt=1, name='get_ssl_method', args=[Argument(type='int', derefcnt=0, name='version')]), - 'get_timeout': Function(type='long', derefcnt=0, name='get_timeout', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'get_timeout': Function(type='long', derefcnt=0, name='get_timeout', args=[]), 'getaddrinfo': Function(type='int', derefcnt=0, name='getaddrinfo', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='char', derefcnt=1, name='service'), Argument(type='addrinfo', derefcnt=1, name='req'), Argument(type='addrinfo', derefcnt=2, name='pai')]), 'getaddrinfo_a': Function(type='int', derefcnt=0, name='getaddrinfo_a', args=[Argument(type='int', derefcnt=0, name='mode'), Argument(type='gaicb', derefcnt=2, name='list'), Argument(type='int', derefcnt=0, name='ent'), Argument(type='sigevent', derefcnt=1, name='sig')]), 'getaliasbyname': Function(type='aliasent', derefcnt=1, name='getaliasbyname', args=[Argument(type='char', derefcnt=1, name='name')]), 'getaliasbyname_r': Function(type='int', derefcnt=0, name='getaliasbyname_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='aliasent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='aliasent', derefcnt=2, name='result')]), - 'getaliasent': Function(type='aliasent', derefcnt=1, name='getaliasent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getaliasent': Function(type='aliasent', derefcnt=1, name='getaliasent', args=[]), 'getaliasent_r': Function(type='int', derefcnt=0, name='getaliasent_r', args=[Argument(type='aliasent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='aliasent', derefcnt=2, name='result')]), 'getc': Function(type='int', derefcnt=0, name='getc', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'getc_unlocked': Function(type='int', derefcnt=0, name='getc_unlocked', args=[Argument(type='FILE', derefcnt=1, name='stream')]), - 'getchar': Function(type='int', derefcnt=0, name='getchar', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getchar_unlocked': Function(type='int', derefcnt=0, name='getchar_unlocked', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getchar': Function(type='int', derefcnt=0, name='getchar', args=[]), + 'getchar_unlocked': Function(type='int', derefcnt=0, name='getchar_unlocked', args=[]), 'getcontext': Function(type='int', derefcnt=0, name='getcontext', args=[Argument(type='ucontext_t', derefcnt=1, name='ucp')]), 'getcwd': Function(type='char', derefcnt=1, name='getcwd', args=[Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='size')]), 'getdate': Function(type='tm', derefcnt=1, name='getdate', args=[Argument(type='char', derefcnt=1, name='string')]), @@ -2866,15 +2876,15 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'getdirentries': Function(type='ssize_t', derefcnt=0, name='getdirentries', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='nbytes'), Argument(type='off_t', derefcnt=1, name='basep')]), 'getdirentries64': Function(type='ssize_t', derefcnt=0, name='getdirentries64', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='nbytes'), Argument(type='off64_t', derefcnt=1, name='basep')]), 'getdomainname': Function(type='int', derefcnt=0, name='getdomainname', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='size_t', derefcnt=0, name='len')]), - 'getdtablesize': Function(type='int', derefcnt=0, name='getdtablesize', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getegid': Function(type='gid_t', derefcnt=0, name='getegid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getdtablesize': Function(type='int', derefcnt=0, name='getdtablesize', args=[]), + 'getegid': Function(type='gid_t', derefcnt=0, name='getegid', args=[]), 'getenv': Function(type='char', derefcnt=1, name='getenv', args=[Argument(type='char', derefcnt=1, name='name')]), - 'geteuid': Function(type='uid_t', derefcnt=0, name='geteuid', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getfsent': Function(type='fstab', derefcnt=1, name='getfsent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'geteuid': Function(type='uid_t', derefcnt=0, name='geteuid', args=[]), + 'getfsent': Function(type='fstab', derefcnt=1, name='getfsent', args=[]), 'getfsfile': Function(type='fstab', derefcnt=1, name='getfsfile', args=[Argument(type='char', derefcnt=1, name='name')]), 'getfsspec': Function(type='fstab', derefcnt=1, name='getfsspec', args=[Argument(type='char', derefcnt=1, name='name')]), - 'getgid': Function(type='gid_t', derefcnt=0, name='getgid', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getgrent': Function(type='group', derefcnt=1, name='getgrent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getgid': Function(type='gid_t', derefcnt=0, name='getgid', args=[]), + 'getgrent': Function(type='group', derefcnt=1, name='getgrent', args=[]), 'getgrent_r': Function(type='int', derefcnt=0, name='getgrent_r', args=[Argument(type='group', derefcnt=1, name='resultbuf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='group', derefcnt=2, name='result')]), 'getgrgid': Function(type='group', derefcnt=1, name='getgrgid', args=[Argument(type='gid_t', derefcnt=0, name='gid')]), 'getgrgid_r': Function(type='int', derefcnt=0, name='getgrgid_r', args=[Argument(type='gid_t', derefcnt=0, name='gid'), Argument(type='group', derefcnt=1, name='resultbuf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='group', derefcnt=2, name='result')]), @@ -2888,16 +2898,16 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'gethostbyname2': Function(type='hostent', derefcnt=1, name='gethostbyname2', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='af')]), 'gethostbyname2_r': Function(type='int', derefcnt=0, name='gethostbyname2_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='int', derefcnt=0, name='af'), Argument(type='hostent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='hostent', derefcnt=2, name='result'), Argument(type='int', derefcnt=1, name='h_errnop')]), 'gethostbyname_r': Function(type='int', derefcnt=0, name='gethostbyname_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='hostent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='hostent', derefcnt=2, name='result'), Argument(type='int', derefcnt=1, name='h_errnop')]), - 'gethostent': Function(type='hostent', derefcnt=1, name='gethostent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'gethostent': Function(type='hostent', derefcnt=1, name='gethostent', args=[]), 'gethostent_r': Function(type='int', derefcnt=0, name='gethostent_r', args=[Argument(type='hostent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='hostent', derefcnt=2, name='result'), Argument(type='int', derefcnt=1, name='h_errnop')]), - 'gethostid': Function(type='long', derefcnt=0, name='gethostid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'gethostid': Function(type='long', derefcnt=0, name='gethostid', args=[]), 'gethostname': Function(type='int', derefcnt=0, name='gethostname', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='size_t', derefcnt=0, name='len')]), 'getifaddrs': Function(type='int', derefcnt=0, name='getifaddrs', args=[Argument(type='ifaddrs', derefcnt=2, name='ifap')]), 'getipv4sourcefilter': Function(type='int', derefcnt=0, name='getipv4sourcefilter', args=[Argument(type='int', derefcnt=0, name='s'), Argument(type='in_addr', derefcnt=0, name='interface_addr'), Argument(type='in_addr', derefcnt=0, name='group'), Argument(type='uint32_t', derefcnt=1, name='fmode'), Argument(type='uint32_t', derefcnt=1, name='numsrc'), Argument(type='in_addr', derefcnt=1, name='slist')]), 'getitimer': Function(type='int', derefcnt=0, name='getitimer', args=[Argument(type='itimer_which_t', derefcnt=0, name='which'), Argument(type='itimerval', derefcnt=1, name='value')]), 'getline': Function(type='ssize_t', derefcnt=0, name='getline', args=[Argument(type='char', derefcnt=2, name='lineptr'), Argument(type='size_t', derefcnt=1, name='n'), Argument(type='FILE', derefcnt=1, name='stream')]), 'getloadavg': Function(type='int', derefcnt=0, name='getloadavg', args=[Argument(type='double', derefcnt=1, name='loadavg'), Argument(type='int', derefcnt=0, name='nelem')]), - 'getlogin': Function(type='char', derefcnt=1, name='getlogin', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getlogin': Function(type='char', derefcnt=1, name='getlogin', args=[]), 'getlogin_r': Function(type='int', derefcnt=0, name='getlogin_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='size_t', derefcnt=0, name='name_len')]), 'getmntent': Function(type='mntent', derefcnt=1, name='getmntent', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'getmntent_r': Function(type='mntent', derefcnt=1, name='getmntent_r', args=[Argument(type='FILE', derefcnt=1, name='stream'), Argument(type='mntent', derefcnt=1, name='result'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='int', derefcnt=0, name='bufsize')]), @@ -2907,31 +2917,31 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'getnetbyaddr_r': Function(type='int', derefcnt=0, name='getnetbyaddr_r', args=[Argument(type='uint32_t', derefcnt=0, name='net'), Argument(type='int', derefcnt=0, name='type'), Argument(type='netent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='netent', derefcnt=2, name='result'), Argument(type='int', derefcnt=1, name='h_errnop')]), 'getnetbyname': Function(type='netent', derefcnt=1, name='getnetbyname', args=[Argument(type='char', derefcnt=1, name='name')]), 'getnetbyname_r': Function(type='int', derefcnt=0, name='getnetbyname_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='netent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='netent', derefcnt=2, name='result'), Argument(type='int', derefcnt=1, name='h_errnop')]), - 'getnetent': Function(type='netent', derefcnt=1, name='getnetent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getnetent': Function(type='netent', derefcnt=1, name='getnetent', args=[]), 'getnetent_r': Function(type='int', derefcnt=0, name='getnetent_r', args=[Argument(type='netent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='netent', derefcnt=2, name='result'), Argument(type='int', derefcnt=1, name='h_errnop')]), 'getnetgrent': Function(type='int', derefcnt=0, name='getnetgrent', args=[Argument(type='char', derefcnt=2, name='hostp'), Argument(type='char', derefcnt=2, name='userp'), Argument(type='char', derefcnt=2, name='domainp')]), 'getnetgrent_r': Function(type='int', derefcnt=0, name='getnetgrent_r', args=[Argument(type='char', derefcnt=2, name='hostp'), Argument(type='char', derefcnt=2, name='userp'), Argument(type='char', derefcnt=2, name='domainp'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen')]), 'getopt': Function(type='int', derefcnt=0, name='getopt', args=[Argument(type='int', derefcnt=0, name='argc'), Argument(type='char', derefcnt=2, name='argv'), Argument(type='char', derefcnt=1, name='shortopts')]), 'getopt_long': Function(type='int', derefcnt=0, name='getopt_long', args=[Argument(type='int', derefcnt=0, name='argc'), Argument(type='char', derefcnt=2, name='argv'), Argument(type='char', derefcnt=1, name='shortopts'), Argument(type='option', derefcnt=1, name='longopts'), Argument(type='int', derefcnt=1, name='longind')]), 'getopt_long_only': Function(type='int', derefcnt=0, name='getopt_long_only', args=[Argument(type='int', derefcnt=0, name='argc'), Argument(type='char', derefcnt=2, name='argv'), Argument(type='char', derefcnt=1, name='shortopts'), Argument(type='option', derefcnt=1, name='longopts'), Argument(type='int', derefcnt=1, name='longind')]), - 'getpagesize': Function(type='int', derefcnt=0, name='getpagesize', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getpagesize': Function(type='int', derefcnt=0, name='getpagesize', args=[]), 'getpass': Function(type='char', derefcnt=1, name='getpass', args=[Argument(type='char', derefcnt=1, name='prompt')]), 'getpeername': Function(type='int', derefcnt=0, name='getpeername', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='SOCKADDR_ARG', derefcnt=0, name='addr'), Argument(type='socklen_t', derefcnt=1, name='len')]), 'getpgid': Function(type='pid_t', derefcnt=0, name='getpgid', args=[Argument(type='pid_t', derefcnt=0, name='pid')]), - 'getpgrp': Function(type='pid_t', derefcnt=0, name='getpgrp', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getpid': Function(type='pid_t', derefcnt=0, name='getpid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getpgrp': Function(type='pid_t', derefcnt=0, name='getpgrp', args=[]), + 'getpid': Function(type='pid_t', derefcnt=0, name='getpid', args=[]), 'getpmsg': Function(type='int', derefcnt=0, name='getpmsg', args=[Argument(type='int', derefcnt=0, name='fildes'), Argument(type='strbuf', derefcnt=1, name='ctlptr'), Argument(type='strbuf', derefcnt=1, name='dataptr'), Argument(type='int', derefcnt=1, name='bandp'), Argument(type='int', derefcnt=1, name='flagsp')]), - 'getppid': Function(type='pid_t', derefcnt=0, name='getppid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getppid': Function(type='pid_t', derefcnt=0, name='getppid', args=[]), 'getpriority': Function(type='int', derefcnt=0, name='getpriority', args=[Argument(type='priority_which_t', derefcnt=0, name='which'), Argument(type='id_t', derefcnt=0, name='who')]), 'getprotobyname': Function(type='protoent', derefcnt=1, name='getprotobyname', args=[Argument(type='char', derefcnt=1, name='name')]), 'getprotobyname_r': Function(type='int', derefcnt=0, name='getprotobyname_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='protoent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='protoent', derefcnt=2, name='result')]), 'getprotobynumber': Function(type='protoent', derefcnt=1, name='getprotobynumber', args=[Argument(type='int', derefcnt=0, name='proto')]), 'getprotobynumber_r': Function(type='int', derefcnt=0, name='getprotobynumber_r', args=[Argument(type='int', derefcnt=0, name='proto'), Argument(type='protoent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='protoent', derefcnt=2, name='result')]), - 'getprotoent': Function(type='protoent', derefcnt=1, name='getprotoent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getprotoent': Function(type='protoent', derefcnt=1, name='getprotoent', args=[]), 'getprotoent_r': Function(type='int', derefcnt=0, name='getprotoent_r', args=[Argument(type='protoent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='protoent', derefcnt=2, name='result')]), - 'getpt': Function(type='int', derefcnt=0, name='getpt', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getpt': Function(type='int', derefcnt=0, name='getpt', args=[]), 'getpw': Function(type='int', derefcnt=0, name='getpw', args=[Argument(type='uid_t', derefcnt=0, name='uid'), Argument(type='char', derefcnt=1, name='buffer')]), - 'getpwent': Function(type='passwd', derefcnt=1, name='getpwent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getpwent': Function(type='passwd', derefcnt=1, name='getpwent', args=[]), 'getpwent_r': Function(type='int', derefcnt=0, name='getpwent_r', args=[Argument(type='passwd', derefcnt=1, name='resultbuf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='passwd', derefcnt=2, name='result')]), 'getpwnam': Function(type='passwd', derefcnt=1, name='getpwnam', args=[Argument(type='char', derefcnt=1, name='name')]), 'getpwnam_r': Function(type='int', derefcnt=0, name='getpwnam_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='passwd', derefcnt=1, name='resultbuf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='passwd', derefcnt=2, name='result')]), @@ -2945,16 +2955,16 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'getrpcbyname_r': Function(type='int', derefcnt=0, name='getrpcbyname_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='rpcent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='rpcent', derefcnt=2, name='result')]), 'getrpcbynumber': Function(type='rpcent', derefcnt=1, name='getrpcbynumber', args=[Argument(type='int', derefcnt=0, name='number')]), 'getrpcbynumber_r': Function(type='int', derefcnt=0, name='getrpcbynumber_r', args=[Argument(type='int', derefcnt=0, name='number'), Argument(type='rpcent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='rpcent', derefcnt=2, name='result')]), - 'getrpcent': Function(type='rpcent', derefcnt=1, name='getrpcent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getrpcent': Function(type='rpcent', derefcnt=1, name='getrpcent', args=[]), 'getrpcent_r': Function(type='int', derefcnt=0, name='getrpcent_r', args=[Argument(type='rpcent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='rpcent', derefcnt=2, name='result')]), 'getrusage': Function(type='int', derefcnt=0, name='getrusage', args=[Argument(type='rusage_who_t', derefcnt=0, name='who'), Argument(type='rusage', derefcnt=1, name='usage')]), 'getservbyname': Function(type='servent', derefcnt=1, name='getservbyname', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='char', derefcnt=1, name='proto')]), 'getservbyname_r': Function(type='int', derefcnt=0, name='getservbyname_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='char', derefcnt=1, name='proto'), Argument(type='servent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='servent', derefcnt=2, name='result')]), 'getservbyport': Function(type='servent', derefcnt=1, name='getservbyport', args=[Argument(type='int', derefcnt=0, name='port'), Argument(type='char', derefcnt=1, name='proto')]), 'getservbyport_r': Function(type='int', derefcnt=0, name='getservbyport_r', args=[Argument(type='int', derefcnt=0, name='port'), Argument(type='char', derefcnt=1, name='proto'), Argument(type='servent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='servent', derefcnt=2, name='result')]), - 'getservent': Function(type='servent', derefcnt=1, name='getservent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getservent': Function(type='servent', derefcnt=1, name='getservent', args=[]), 'getservent_r': Function(type='int', derefcnt=0, name='getservent_r', args=[Argument(type='servent', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='servent', derefcnt=2, name='result')]), - 'getsgent': Function(type='sgrp', derefcnt=1, name='getsgent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getsgent': Function(type='sgrp', derefcnt=1, name='getsgent', args=[]), 'getsgent_r': Function(type='int', derefcnt=0, name='getsgent_r', args=[Argument(type='sgrp', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='sgrp', derefcnt=2, name='result')]), 'getsgnam': Function(type='sgrp', derefcnt=1, name='getsgnam', args=[Argument(type='char', derefcnt=1, name='name')]), 'getsgnam_r': Function(type='int', derefcnt=0, name='getsgnam_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='sgrp', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='sgrp', derefcnt=2, name='result')]), @@ -2962,19 +2972,19 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'getsockname': Function(type='int', derefcnt=0, name='getsockname', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='SOCKADDR_ARG', derefcnt=0, name='addr'), Argument(type='socklen_t', derefcnt=1, name='len')]), 'getsockopt': Function(type='int', derefcnt=0, name='getsockopt', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='int', derefcnt=0, name='level'), Argument(type='int', derefcnt=0, name='optname'), Argument(type='void', derefcnt=1, name='optval'), Argument(type='socklen_t', derefcnt=1, name='optlen')]), 'getsourcefilter': Function(type='int', derefcnt=0, name='getsourcefilter', args=[Argument(type='int', derefcnt=0, name='s'), Argument(type='uint32_t', derefcnt=0, name='interface_addr'), Argument(type='sockaddr', derefcnt=1, name='group'), Argument(type='socklen_t', derefcnt=0, name='grouplen'), Argument(type='uint32_t', derefcnt=1, name='fmode'), Argument(type='uint32_t', derefcnt=1, name='numsrc'), Argument(type='sockaddr_storage', derefcnt=1, name='slist')]), - 'getspent': Function(type='spwd', derefcnt=1, name='getspent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getspent': Function(type='spwd', derefcnt=1, name='getspent', args=[]), 'getspent_r': Function(type='int', derefcnt=0, name='getspent_r', args=[Argument(type='spwd', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='spwd', derefcnt=2, name='result')]), 'getspnam': Function(type='spwd', derefcnt=1, name='getspnam', args=[Argument(type='char', derefcnt=1, name='name')]), 'getspnam_r': Function(type='int', derefcnt=0, name='getspnam_r', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='spwd', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='spwd', derefcnt=2, name='result')]), 'getsubopt': Function(type='int', derefcnt=0, name='getsubopt', args=[Argument(type='char', derefcnt=2, name='optionp'), Argument(type='char', derefcnt=2, name='tokens'), Argument(type='char', derefcnt=2, name='valuep')]), 'gettext': Function(type='char', derefcnt=1, name='gettext', args=[Argument(type='char', derefcnt=1, name='msgid')]), 'gettimeofday': Function(type='int', derefcnt=0, name='gettimeofday', args=[Argument(type='timeval', derefcnt=1, name='tv'), Argument(type='timezone_ptr_t', derefcnt=0, name='tz')]), - 'getttyent': Function(type='ttyent', derefcnt=1, name='getttyent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getttyent': Function(type='ttyent', derefcnt=1, name='getttyent', args=[]), 'getttynam': Function(type='ttyent', derefcnt=1, name='getttynam', args=[Argument(type='char', derefcnt=1, name='tty')]), - 'getuid': Function(type='uid_t', derefcnt=0, name='getuid', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getumask': Function(type='mode_t', derefcnt=0, name='getumask', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getusershell': Function(type='char', derefcnt=1, name='getusershell', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getutent': Function(type='utmp', derefcnt=1, name='getutent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getuid': Function(type='uid_t', derefcnt=0, name='getuid', args=[]), + 'getumask': Function(type='mode_t', derefcnt=0, name='getumask', args=[]), + 'getusershell': Function(type='char', derefcnt=1, name='getusershell', args=[]), + 'getutent': Function(type='utmp', derefcnt=1, name='getutent', args=[]), 'getutent_r': Function(type='int', derefcnt=0, name='getutent_r', args=[Argument(type='utmp', derefcnt=1, name='buffer'), Argument(type='utmp', derefcnt=2, name='result')]), 'getutid': Function(type='utmp', derefcnt=1, name='getutid', args=[Argument(type='utmp', derefcnt=1, name='id')]), 'getutid_r': Function(type='int', derefcnt=0, name='getutid_r', args=[Argument(type='utmp', derefcnt=1, name='id'), Argument(type='utmp', derefcnt=1, name='buffer'), Argument(type='utmp', derefcnt=2, name='result')]), @@ -2982,14 +2992,14 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'getutline_r': Function(type='int', derefcnt=0, name='getutline_r', args=[Argument(type='utmp', derefcnt=1, name='line'), Argument(type='utmp', derefcnt=1, name='buffer'), Argument(type='utmp', derefcnt=2, name='result')]), 'getutmp': Function(type='void', derefcnt=0, name='getutmp', args=[Argument(type='utmpx', derefcnt=1, name='utmpx'), Argument(type='utmp', derefcnt=1, name='utmp')]), 'getutmpx': Function(type='void', derefcnt=0, name='getutmpx', args=[Argument(type='utmp', derefcnt=1, name='utmp'), Argument(type='utmpx', derefcnt=1, name='utmpx')]), - 'getutxent': Function(type='utmpx', derefcnt=1, name='getutxent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getutxent': Function(type='utmpx', derefcnt=1, name='getutxent', args=[]), 'getutxid': Function(type='utmpx', derefcnt=1, name='getutxid', args=[Argument(type='utmpx', derefcnt=1, name='id')]), 'getutxline': Function(type='utmpx', derefcnt=1, name='getutxline', args=[Argument(type='utmpx', derefcnt=1, name='line')]), 'getw': Function(type='int', derefcnt=0, name='getw', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'getwc': Function(type='wint_t', derefcnt=0, name='getwc', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'getwc_unlocked': Function(type='wint_t', derefcnt=0, name='getwc_unlocked', args=[Argument(type='FILE', derefcnt=1, name='stream')]), - 'getwchar': Function(type='wint_t', derefcnt=0, name='getwchar', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'getwchar_unlocked': Function(type='wint_t', derefcnt=0, name='getwchar_unlocked', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'getwchar': Function(type='wint_t', derefcnt=0, name='getwchar', args=[]), + 'getwchar_unlocked': Function(type='wint_t', derefcnt=0, name='getwchar_unlocked', args=[]), 'getwd': Function(type='char', derefcnt=1, name='getwd', args=[Argument(type='char', derefcnt=1, name='buf')]), 'gl_closedir': Function(type='void', derefcnt=0, name='gl_closedir', args=[Argument(type='void', derefcnt=1, name='arg0')]), 'gl_lstat': Function(type='int', derefcnt=0, name='gl_lstat', args=[Argument(type='char', derefcnt=1, name='arg0'), Argument(type='stat64', derefcnt=1, name='arg1')]), @@ -3040,12 +3050,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'gzungetc': Function(type='int', derefcnt=0, name='gzungetc', args=[Argument(type='int', derefcnt=0, name='c'), Argument(type='gzFile', derefcnt=0, name='file')]), 'gzvprintf': Function(type='int', derefcnt=0, name='gzvprintf', args=[Argument(type='gzFile', derefcnt=0, name='file'), Argument(type='char', derefcnt=1, name='format'), Argument(type='va_list', derefcnt=0, name='va')]), 'gzwrite': Function(type='int', derefcnt=0, name='gzwrite', args=[Argument(type='gzFile', derefcnt=0, name='file'), Argument(type='voidpc', derefcnt=0, name='buf'), Argument(type='unsigned', derefcnt=0, name='len')]), - 'h_errno_location': Function(type='int', derefcnt=1, name='h_errno_location', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'h_errno_location': Function(type='int', derefcnt=1, name='h_errno_location', args=[]), 'handshake_func': Function(type='int', derefcnt=0, name='handshake_func', args=[Argument(type='SSL', derefcnt=1, name='arg0')]), 'hasmntopt': Function(type='char', derefcnt=1, name='hasmntopt', args=[Argument(type='mntent', derefcnt=1, name='mnt'), Argument(type='char', derefcnt=1, name='opt')]), 'hcreate': Function(type='int', derefcnt=0, name='hcreate', args=[Argument(type='size_t', derefcnt=0, name='nel')]), 'hcreate_r': Function(type='int', derefcnt=0, name='hcreate_r', args=[Argument(type='size_t', derefcnt=0, name='nel'), Argument(type='hsearch_data', derefcnt=1, name='htab')]), - 'hdestroy': Function(type='void', derefcnt=0, name='hdestroy', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'hdestroy': Function(type='void', derefcnt=0, name='hdestroy', args=[]), 'hdestroy_r': Function(type='void', derefcnt=0, name='hdestroy_r', args=[Argument(type='hsearch_data', derefcnt=1, name='htab')]), 'help_filter': Function(type='char', derefcnt=1, name='help_filter', args=[Argument(type='int', derefcnt=0, name='key'), Argument(type='char', derefcnt=1, name='text'), Argument(type='void', derefcnt=1, name='input')]), 'herror': Function(type='void', derefcnt=0, name='herror', args=[Argument(type='char', derefcnt=1, name='str')]), @@ -3058,7 +3068,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'hypot': Function(type='double', derefcnt=0, name='hypot', args=[Argument(type='double', derefcnt=0, name='x'), Argument(type='double', derefcnt=0, name='y')]), 'hypotf': Function(type='float', derefcnt=0, name='hypotf', args=[Argument(type='float', derefcnt=0, name='x'), Argument(type='float', derefcnt=0, name='y')]), 'hypotl': Function(type='long', derefcnt=0, name='hypotl', args=[Argument(type='long', derefcnt=0, name='x'), Argument(type='long', derefcnt=0, name='y')]), - 'i2a': Function(type='int', derefcnt=0, name='i2a', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'i2a': Function(type='int', derefcnt=0, name='i2a', args=[]), 'i2a_ASN1_ENUMERATED': Function(type='int', derefcnt=0, name='i2a_ASN1_ENUMERATED', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='ASN1_ENUMERATED', derefcnt=1, name='a')]), 'i2a_ASN1_INTEGER': Function(type='int', derefcnt=0, name='i2a_ASN1_INTEGER', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='ASN1_INTEGER', derefcnt=1, name='a')]), 'i2a_ASN1_OBJECT': Function(type='int', derefcnt=0, name='i2a_ASN1_OBJECT', args=[Argument(type='BIO', derefcnt=1, name='bp'), Argument(type='ASN1_OBJECT', derefcnt=1, name='a')]), @@ -3344,7 +3354,6 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'jnl': Function(type='long', derefcnt=0, name='jnl', args=[Argument(type='int', derefcnt=0, name='arg0'), Argument(type='long', derefcnt=0, name='arg1')]), 'jrand48': Function(type='long', derefcnt=0, name='jrand48', args=[Argument(type='unsigned', derefcnt=1, name='xsubi')]), 'jrand48_r': Function(type='int', derefcnt=0, name='jrand48_r', args=[Argument(type='unsigned', derefcnt=1, name='xsubi'), Argument(type='drand48_data', derefcnt=1, name='buffer'), Argument(type='long', derefcnt=1, name='result')]), - 'kernel_sighandler_t': Function(type='void', derefcnt=0, name='kernel_sighandler_t', args=[Argument(type='int', derefcnt=0, name='arg0')]), 'kill': Function(type='int', derefcnt=0, name='kill', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='int', derefcnt=0, name='sig')]), 'killpg': Function(type='int', derefcnt=0, name='killpg', args=[Argument(type='pid_t', derefcnt=0, name='pgrp'), Argument(type='int', derefcnt=0, name='sig')]), 'l64a': Function(type='char', derefcnt=1, name='l64a', args=[Argument(type='long', derefcnt=0, name='n')]), @@ -3363,7 +3372,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'labs': Function(type='long', derefcnt=0, name='labs', args=[Argument(type='long', derefcnt=0, name='x')]), 'lchmod': Function(type='int', derefcnt=0, name='lchmod', args=[Argument(type='char', derefcnt=1, name='file'), Argument(type='mode_t', derefcnt=0, name='mode')]), 'lchown': Function(type='int', derefcnt=0, name='lchown', args=[Argument(type='char', derefcnt=1, name='file'), Argument(type='uid_t', derefcnt=0, name='owner'), Argument(type='gid_t', derefcnt=0, name='group')]), - 'lckpwdf': Function(type='int', derefcnt=0, name='lckpwdf', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'lckpwdf': Function(type='int', derefcnt=0, name='lckpwdf', args=[]), 'lcong48': Function(type='void', derefcnt=0, name='lcong48', args=[Argument(type='unsigned', derefcnt=1, name='param')]), 'lcong48_r': Function(type='int', derefcnt=0, name='lcong48_r', args=[Argument(type='unsigned', derefcnt=1, name='param'), Argument(type='drand48_data', derefcnt=1, name='buffer')]), 'ldexp': Function(type='double', derefcnt=0, name='ldexp', args=[Argument(type='double', derefcnt=0, name='x'), Argument(type='int', derefcnt=0, name='exponent')]), @@ -3392,8 +3401,8 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'lh_stats': Function(type='void', derefcnt=0, name='lh_stats', args=[Argument(type='LHASH', derefcnt=1, name='lh'), Argument(type='FILE', derefcnt=1, name='out')]), 'lh_stats_bio': Function(type='void', derefcnt=0, name='lh_stats_bio', args=[Argument(type='LHASH', derefcnt=1, name='lh'), Argument(type='BIO', derefcnt=1, name='out')]), 'lh_strhash': Function(type='unsigned', derefcnt=0, name='lh_strhash', args=[Argument(type='char', derefcnt=1, name='c')]), - 'libc_current_sigrtmax': Function(type='int', derefcnt=0, name='libc_current_sigrtmax', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'libc_current_sigrtmin': Function(type='int', derefcnt=0, name='libc_current_sigrtmin', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'libc_current_sigrtmax': Function(type='int', derefcnt=0, name='libc_current_sigrtmax', args=[]), + 'libc_current_sigrtmin': Function(type='int', derefcnt=0, name='libc_current_sigrtmin', args=[]), 'link': Function(type='int', derefcnt=0, name='link', args=[Argument(type='char', derefcnt=1, name='from'), Argument(type='char', derefcnt=1, name='to')]), 'linkat': Function(type='int', derefcnt=0, name='linkat', args=[Argument(type='int', derefcnt=0, name='fromfd'), Argument(type='char', derefcnt=1, name='from'), Argument(type='int', derefcnt=0, name='tofd'), Argument(type='char', derefcnt=1, name='to'), Argument(type='int', derefcnt=0, name='flags')]), 'lio_listio': Function(type='int', derefcnt=0, name='lio_listio', args=[Argument(type='int', derefcnt=0, name='mode'), Argument(type='aiocb', derefcnt=2, name='list'), Argument(type='int', derefcnt=0, name='nent'), Argument(type='sigevent', derefcnt=1, name='sig')]), @@ -3409,7 +3418,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'llroundl': Function(type='long', derefcnt=0, name='llroundl', args=[Argument(type='long', derefcnt=0, name='x')]), 'loc_aton': Function(type='int', derefcnt=0, name='loc_aton', args=[Argument(type='char', derefcnt=1, name='ascii'), Argument(type='u_char', derefcnt=1, name='binary')]), 'loc_ntoa': Function(type='char', derefcnt=1, name='loc_ntoa', args=[Argument(type='u_char', derefcnt=1, name='binary'), Argument(type='char', derefcnt=1, name='ascii')]), - 'localeconv': Function(type='lconv', derefcnt=1, name='localeconv', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'localeconv': Function(type='lconv', derefcnt=1, name='localeconv', args=[]), 'localtime': Function(type='tm', derefcnt=1, name='localtime', args=[Argument(type='time_t', derefcnt=1, name='timer')]), 'localtime_r': Function(type='tm', derefcnt=1, name='localtime_r', args=[Argument(type='time_t', derefcnt=1, name='timer'), Argument(type='tm', derefcnt=1, name='tp')]), 'lockf': Function(type='int', derefcnt=0, name='lockf', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='int', derefcnt=0, name='cmd'), Argument(type='off_t', derefcnt=0, name='len')]), @@ -3436,7 +3445,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'longjmp': Function(type='void', derefcnt=0, name='longjmp', args=[Argument(type='jmp_buf_tag', derefcnt=1, name='env'), Argument(type='int', derefcnt=0, name='val')]), 'lookup_certs': Function(type='stack_st_X509', derefcnt=1, name='lookup_certs', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx'), Argument(type='X509_NAME', derefcnt=1, name='nm')]), 'lookup_crls': Function(type='stack_st_X509_CRL', derefcnt=1, name='lookup_crls', args=[Argument(type='X509_STORE_CTX', derefcnt=1, name='ctx'), Argument(type='X509_NAME', derefcnt=1, name='nm')]), - 'lrand48': Function(type='long', derefcnt=0, name='lrand48', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'lrand48': Function(type='long', derefcnt=0, name='lrand48', args=[]), 'lrand48_r': Function(type='int', derefcnt=0, name='lrand48_r', args=[Argument(type='drand48_data', derefcnt=1, name='buffer'), Argument(type='long', derefcnt=1, name='result')]), 'lrint': Function(type='long', derefcnt=0, name='lrint', args=[Argument(type='double', derefcnt=0, name='x')]), 'lrintf': Function(type='long', derefcnt=0, name='lrintf', args=[Argument(type='float', derefcnt=0, name='x')]), @@ -3520,7 +3529,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'lzma_memusage': Function(type='uint64_t', derefcnt=0, name='lzma_memusage', args=[Argument(type='lzma_stream', derefcnt=1, name='strm')]), 'lzma_mf_is_supported': Function(type='lzma_bool', derefcnt=0, name='lzma_mf_is_supported', args=[Argument(type='lzma_match_finder', derefcnt=0, name='match_finder')]), 'lzma_mode_is_supported': Function(type='lzma_bool', derefcnt=0, name='lzma_mode_is_supported', args=[Argument(type='lzma_mode', derefcnt=0, name='mode')]), - 'lzma_physmem': Function(type='uint64_t', derefcnt=0, name='lzma_physmem', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'lzma_physmem': Function(type='uint64_t', derefcnt=0, name='lzma_physmem', args=[]), 'lzma_properties_decode': Function(type='lzma_ret', derefcnt=0, name='lzma_properties_decode', args=[Argument(type='lzma_filter', derefcnt=1, name='filter'), Argument(type='lzma_allocator', derefcnt=1, name='allocator'), Argument(type='uint8_t', derefcnt=1, name='props'), Argument(type='size_t', derefcnt=0, name='props_size')]), 'lzma_properties_encode': Function(type='lzma_ret', derefcnt=0, name='lzma_properties_encode', args=[Argument(type='lzma_filter', derefcnt=1, name='filter'), Argument(type='uint8_t', derefcnt=1, name='props')]), 'lzma_properties_size': Function(type='lzma_ret', derefcnt=0, name='lzma_properties_size', args=[Argument(type='uint32_t', derefcnt=1, name='size'), Argument(type='lzma_filter', derefcnt=1, name='filter')]), @@ -3540,22 +3549,22 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'lzma_stream_footer_encode': Function(type='lzma_ret', derefcnt=0, name='lzma_stream_footer_encode', args=[Argument(type='lzma_stream_flags', derefcnt=1, name='options'), Argument(type='uint8_t', derefcnt=1, name='out')]), 'lzma_stream_header_decode': Function(type='lzma_ret', derefcnt=0, name='lzma_stream_header_decode', args=[Argument(type='lzma_stream_flags', derefcnt=1, name='options'), Argument(type='uint8_t', derefcnt=1, name='in')]), 'lzma_stream_header_encode': Function(type='lzma_ret', derefcnt=0, name='lzma_stream_header_encode', args=[Argument(type='lzma_stream_flags', derefcnt=1, name='options'), Argument(type='uint8_t', derefcnt=1, name='out')]), - 'lzma_version_number': Function(type='uint32_t', derefcnt=0, name='lzma_version_number', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'lzma_version_string': Function(type='char', derefcnt=1, name='lzma_version_string', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'lzma_version_number': Function(type='uint32_t', derefcnt=0, name='lzma_version_number', args=[]), + 'lzma_version_string': Function(type='char', derefcnt=1, name='lzma_version_string', args=[]), 'lzma_vli_decode': Function(type='lzma_ret', derefcnt=0, name='lzma_vli_decode', args=[Argument(type='lzma_vli', derefcnt=1, name='vli'), Argument(type='size_t', derefcnt=1, name='vli_pos'), Argument(type='uint8_t', derefcnt=1, name='in'), Argument(type='size_t', derefcnt=1, name='in_pos'), Argument(type='size_t', derefcnt=0, name='in_size')]), 'lzma_vli_encode': Function(type='lzma_ret', derefcnt=0, name='lzma_vli_encode', args=[Argument(type='lzma_vli', derefcnt=0, name='vli'), Argument(type='size_t', derefcnt=1, name='vli_pos'), Argument(type='uint8_t', derefcnt=1, name='out'), Argument(type='size_t', derefcnt=1, name='out_pos'), Argument(type='size_t', derefcnt=0, name='out_size')]), 'lzma_vli_size': Function(type='uint32_t', derefcnt=0, name='lzma_vli_size', args=[Argument(type='lzma_vli', derefcnt=0, name='vli')]), 'madvise': Function(type='int', derefcnt=0, name='madvise', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='size_t', derefcnt=0, name='len'), Argument(type='int', derefcnt=0, name='advice')]), 'makecontext': Function(type='void', derefcnt=0, name='makecontext', args=[Argument(type='ucontext_t', derefcnt=1, name='ucp'), Argument(type='void', derefcnt=0, name='func'), Argument(type='int', derefcnt=0, name='argc'), Argument(type='int', derefcnt=0, name='vararg')]), - 'mallinfo': Function(type='mallinfo', derefcnt=0, name='mallinfo', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'mallinfo': Function(type='mallinfo', derefcnt=0, name='mallinfo', args=[]), 'malloc': Function(type='void', derefcnt=1, name='malloc', args=[Argument(type='size_t', derefcnt=0, name='size')]), - 'malloc_check_init': Function(type='void', derefcnt=0, name='malloc_check_init', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'malloc_get_state': Function(type='void', derefcnt=1, name='malloc_get_state', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'malloc_check_init': Function(type='void', derefcnt=0, name='malloc_check_init', args=[]), + 'malloc_get_state': Function(type='void', derefcnt=1, name='malloc_get_state', args=[]), 'malloc_hook': Function(type='void', derefcnt=1, name='malloc_hook', args=[Argument(type='size_t', derefcnt=0, name='size'), Argument(type='void', derefcnt=1, name='arg1')]), 'malloc_info': Function(type='int', derefcnt=0, name='malloc_info', args=[Argument(type='int', derefcnt=0, name='options'), Argument(type='FILE', derefcnt=1, name='fp')]), - 'malloc_initialize_hook': Function(type='void', derefcnt=0, name='malloc_initialize_hook', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'malloc_initialize_hook': Function(type='void', derefcnt=0, name='malloc_initialize_hook', args=[]), 'malloc_set_state': Function(type='int', derefcnt=0, name='malloc_set_state', args=[Argument(type='void', derefcnt=1, name='ptr')]), - 'malloc_stats': Function(type='void', derefcnt=0, name='malloc_stats', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'malloc_stats': Function(type='void', derefcnt=0, name='malloc_stats', args=[]), 'malloc_trim': Function(type='int', derefcnt=0, name='malloc_trim', args=[Argument(type='size_t', derefcnt=0, name='pad')]), 'malloc_usable_size': Function(type='size_t', derefcnt=0, name='malloc_usable_size', args=[Argument(type='void', derefcnt=1, name='ptr')]), 'mallopt': Function(type='int', derefcnt=0, name='mallopt', args=[Argument(type='int', derefcnt=0, name='param'), Argument(type='int', derefcnt=0, name='val')]), @@ -3569,7 +3578,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'mbstowcs': Function(type='size_t', derefcnt=0, name='mbstowcs', args=[Argument(type='wchar_t', derefcnt=1, name='pwcs'), Argument(type='char', derefcnt=1, name='s'), Argument(type='size_t', derefcnt=0, name='n')]), 'mbtowc': Function(type='int', derefcnt=0, name='mbtowc', args=[Argument(type='wchar_t', derefcnt=1, name='pwc'), Argument(type='char', derefcnt=1, name='s'), Argument(type='size_t', derefcnt=0, name='n')]), 'mcheck': Function(type='int', derefcnt=0, name='mcheck', args=[Argument(type='void', derefcnt=0, name='abortfunc')]), - 'mcheck_check_all': Function(type='void', derefcnt=0, name='mcheck_check_all', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'mcheck_check_all': Function(type='void', derefcnt=0, name='mcheck_check_all', args=[]), 'mcheck_pedantic': Function(type='int', derefcnt=0, name='mcheck_pedantic', args=[Argument(type='void', derefcnt=0, name='abortfunc')]), 'md_ctrl': Function(type='int', derefcnt=0, name='md_ctrl', args=[Argument(type='EVP_MD_CTX', derefcnt=1, name='ctx'), Argument(type='int', derefcnt=0, name='cmd'), Argument(type='int', derefcnt=0, name='p1'), Argument(type='void', derefcnt=1, name='p2')]), 'memalign': Function(type='void', derefcnt=1, name='memalign', args=[Argument(type='size_t', derefcnt=0, name='alignment'), Argument(type='size_t', derefcnt=0, name='size')]), @@ -3622,7 +3631,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'mq_timedreceive': Function(type='ssize_t', derefcnt=0, name='mq_timedreceive', args=[Argument(type='mqd_t', derefcnt=0, name='mqdes'), Argument(type='char', derefcnt=1, name='msg_ptr'), Argument(type='size_t', derefcnt=0, name='msg_len'), Argument(type='unsigned', derefcnt=1, name='msg_prio'), Argument(type='timespec', derefcnt=1, name='abs_timeout')]), 'mq_timedsend': Function(type='int', derefcnt=0, name='mq_timedsend', args=[Argument(type='mqd_t', derefcnt=0, name='mqdes'), Argument(type='char', derefcnt=1, name='msg_ptr'), Argument(type='size_t', derefcnt=0, name='msg_len'), Argument(type='unsigned', derefcnt=0, name='msg_prio'), Argument(type='timespec', derefcnt=1, name='abs_timeout')]), 'mq_unlink': Function(type='int', derefcnt=0, name='mq_unlink', args=[Argument(type='char', derefcnt=1, name='name')]), - 'mrand48': Function(type='long', derefcnt=0, name='mrand48', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'mrand48': Function(type='long', derefcnt=0, name='mrand48', args=[]), 'mrand48_r': Function(type='int', derefcnt=0, name='mrand48_r', args=[Argument(type='drand48_data', derefcnt=1, name='buffer'), Argument(type='long', derefcnt=1, name='result')]), 'mremap': Function(type='void', derefcnt=1, name='mremap', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='size_t', derefcnt=0, name='old_len'), Argument(type='size_t', derefcnt=0, name='new_len'), Argument(type='int', derefcnt=0, name='flags'), Argument(type='int', derefcnt=0, name='vararg')]), 'msg_callback': Function(type='void', derefcnt=0, name='msg_callback', args=[Argument(type='int', derefcnt=0, name='write_p'), Argument(type='int', derefcnt=0, name='version'), Argument(type='int', derefcnt=0, name='content_type'), Argument(type='void', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='len'), Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='void', derefcnt=1, name='arg')]), @@ -3631,11 +3640,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'msgrcv': Function(type='ssize_t', derefcnt=0, name='msgrcv', args=[Argument(type='int', derefcnt=0, name='msqid'), Argument(type='void', derefcnt=1, name='msgp'), Argument(type='size_t', derefcnt=0, name='msgsz'), Argument(type='long', derefcnt=0, name='msgtyp'), Argument(type='int', derefcnt=0, name='msgflg')]), 'msgsnd': Function(type='int', derefcnt=0, name='msgsnd', args=[Argument(type='int', derefcnt=0, name='msqid'), Argument(type='void', derefcnt=1, name='msgp'), Argument(type='size_t', derefcnt=0, name='msgsz'), Argument(type='int', derefcnt=0, name='msgflg')]), 'msync': Function(type='int', derefcnt=0, name='msync', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='size_t', derefcnt=0, name='len'), Argument(type='int', derefcnt=0, name='flags')]), - 'mtrace': Function(type='void', derefcnt=0, name='mtrace', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'mtrace': Function(type='void', derefcnt=0, name='mtrace', args=[]), 'munlock': Function(type='int', derefcnt=0, name='munlock', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='size_t', derefcnt=0, name='len')]), - 'munlockall': Function(type='int', derefcnt=0, name='munlockall', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'munlockall': Function(type='int', derefcnt=0, name='munlockall', args=[]), 'munmap': Function(type='int', derefcnt=0, name='munmap', args=[Argument(type='void', derefcnt=1, name='addr'), Argument(type='size_t', derefcnt=0, name='len')]), - 'muntrace': Function(type='void', derefcnt=0, name='muntrace', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'muntrace': Function(type='void', derefcnt=0, name='muntrace', args=[]), 'name_to_handle_at': Function(type='int', derefcnt=0, name='name_to_handle_at', args=[Argument(type='int', derefcnt=0, name='dfd'), Argument(type='char', derefcnt=1, name='name'), Argument(type='file_handle', derefcnt=1, name='handle'), Argument(type='int', derefcnt=1, name='mnt_id'), Argument(type='int', derefcnt=0, name='flags')]), 'nan': Function(type='double', derefcnt=0, name='nan', args=[Argument(type='char', derefcnt=1, name='tagb')]), 'nanf': Function(type='float', derefcnt=0, name='nanf', args=[Argument(type='char', derefcnt=1, name='tagb')]), @@ -3703,12 +3712,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'nss_configure_lookup': Function(type='int', derefcnt=0, name='nss_configure_lookup', args=[Argument(type='char', derefcnt=1, name='dbname'), Argument(type='char', derefcnt=1, name='string')]), 'ntohl': Function(type='uint32_t', derefcnt=0, name='ntohl', args=[Argument(type='uint32_t', derefcnt=0, name='netlong')]), 'ntohs': Function(type='uint16_t', derefcnt=0, name='ntohs', args=[Argument(type='uint16_t', derefcnt=0, name='netshort')]), - 'num_ciphers': Function(type='int', derefcnt=0, name='num_ciphers', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'num_ciphers': Function(type='int', derefcnt=0, name='num_ciphers', args=[]), 'o2i_ECPublicKey': Function(type='EC_KEY', derefcnt=1, name='o2i_ECPublicKey', args=[Argument(type='EC_KEY', derefcnt=2, name='key'), Argument(type='unsigned', derefcnt=2, name='in'), Argument(type='long', derefcnt=0, name='len')]), - 'obstack_alloc_failed_handler': Function(type='void', derefcnt=0, name='obstack_alloc_failed_handler', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'obstack_begin': Function(type='int', derefcnt=0, name='obstack_begin', args=[Argument(type='obstack', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='void', derefcnt=1, name=''), Argument(type='void', derefcnt=0, name='')]), - 'obstack_begin_1': Function(type='int', derefcnt=0, name='obstack_begin_1', args=[Argument(type='obstack', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='void', derefcnt=1, name=''), Argument(type='void', derefcnt=0, name=''), Argument(type='void', derefcnt=1, name='arg5')]), - 'obstack_free': Function(type='void', derefcnt=0, name='obstack_free', args=[Argument(type='obstack', derefcnt=1, name='arg0'), Argument(type='void', derefcnt=1, name='arg1')]), + 'obstack_alloc_failed_handler': Function(type='void', derefcnt=0, name='obstack_alloc_failed_handler', args=[]), + 'obstack_begin': Function(type='int', derefcnt=0, name='obstack_begin', args=[Argument(type='obstack', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='void', derefcnt=1, name='')]), + 'obstack_begin_1': Function(type='int', derefcnt=0, name='obstack_begin_1', args=[Argument(type='obstack', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='void', derefcnt=1, name=''), Argument(type='void', derefcnt=1, name='arg5')]), + 'obstack_free': Function(type='void', derefcnt=0, name='obstack_free', args=[Argument(type='obstack', derefcnt=1, name='obstack'), Argument(type='void', derefcnt=1, name='glibc_block')]), 'obstack_memory_used': Function(type='int', derefcnt=0, name='obstack_memory_used', args=[Argument(type='obstack', derefcnt=1, name='arg0')]), 'obstack_newchunk': Function(type='void', derefcnt=0, name='obstack_newchunk', args=[Argument(type='obstack', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1')]), 'obstack_printf': Function(type='int', derefcnt=0, name='obstack_printf', args=[Argument(type='obstack', derefcnt=1, name='obstack'), Argument(type='char', derefcnt=1, name='format'), Argument(type='int', derefcnt=0, name='vararg')]), @@ -3751,7 +3760,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'p_type': Function(type='char', derefcnt=1, name='p_type', args=[Argument(type='int', derefcnt=0, name='arg0')]), 'parse_printf_format': Function(type='size_t', derefcnt=0, name='parse_printf_format', args=[Argument(type='char', derefcnt=1, name='fmt'), Argument(type='size_t', derefcnt=0, name='n'), Argument(type='int', derefcnt=1, name='argtypes')]), 'pathconf': Function(type='long', derefcnt=0, name='pathconf', args=[Argument(type='char', derefcnt=1, name='path'), Argument(type='int', derefcnt=0, name='name')]), - 'pause': Function(type='int', derefcnt=0, name='pause', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'pause': Function(type='int', derefcnt=0, name='pause', args=[]), 'pclose': Function(type='int', derefcnt=0, name='pclose', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'pem_password_cb': Function(type='int', derefcnt=0, name='pem_password_cb', args=[Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='size'), Argument(type='int', derefcnt=0, name='rwflag'), Argument(type='void', derefcnt=1, name='userdata')]), 'perror': Function(type='void', derefcnt=0, name='perror', args=[Argument(type='char', derefcnt=1, name='s')]), @@ -3800,7 +3809,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'pqueue_free': Function(type='void', derefcnt=0, name='pqueue_free', args=[Argument(type='pqueue', derefcnt=0, name='pq')]), 'pqueue_insert': Function(type='pitem', derefcnt=1, name='pqueue_insert', args=[Argument(type='pqueue', derefcnt=0, name='pq'), Argument(type='pitem', derefcnt=1, name='item')]), 'pqueue_iterator': Function(type='pitem', derefcnt=1, name='pqueue_iterator', args=[Argument(type='pqueue', derefcnt=0, name='pq')]), - 'pqueue_new': Function(type='pqueue', derefcnt=0, name='pqueue_new', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'pqueue_new': Function(type='pqueue', derefcnt=0, name='pqueue_new', args=[]), 'pqueue_next': Function(type='pitem', derefcnt=1, name='pqueue_next', args=[Argument(type='piterator', derefcnt=1, name='iter')]), 'pqueue_peek': Function(type='pitem', derefcnt=1, name='pqueue_peek', args=[Argument(type='pqueue', derefcnt=0, name='pq')]), 'pqueue_pop': Function(type='pitem', derefcnt=1, name='pqueue_pop', args=[Argument(type='pqueue', derefcnt=0, name='pq')]), @@ -3878,7 +3887,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'pthread_getaffinity_np': Function(type='int', derefcnt=0, name='pthread_getaffinity_np', args=[Argument(type='pthread_t', derefcnt=0, name='th'), Argument(type='size_t', derefcnt=0, name='cpusetsize'), Argument(type='cpu_set_t', derefcnt=1, name='cpuset')]), 'pthread_getattr_default_np': Function(type='int', derefcnt=0, name='pthread_getattr_default_np', args=[Argument(type='pthread_attr_t', derefcnt=1, name='attr')]), 'pthread_getattr_np': Function(type='int', derefcnt=0, name='pthread_getattr_np', args=[Argument(type='pthread_t', derefcnt=0, name='th'), Argument(type='pthread_attr_t', derefcnt=1, name='attr')]), - 'pthread_getconcurrency': Function(type='int', derefcnt=0, name='pthread_getconcurrency', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'pthread_getconcurrency': Function(type='int', derefcnt=0, name='pthread_getconcurrency', args=[]), 'pthread_getcpuclockid': Function(type='int', derefcnt=0, name='pthread_getcpuclockid', args=[Argument(type='pthread_t', derefcnt=0, name='thread_id'), Argument(type='clockid_t', derefcnt=1, name='clock_id')]), 'pthread_getname_np': Function(type='int', derefcnt=0, name='pthread_getname_np', args=[Argument(type='pthread_t', derefcnt=0, name='target_thread'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen')]), 'pthread_getschedparam': Function(type='int', derefcnt=0, name='pthread_getschedparam', args=[Argument(type='pthread_t', derefcnt=0, name='target_thread'), Argument(type='int', derefcnt=1, name='policy'), Argument(type='sched_param', derefcnt=1, name='param')]), @@ -3929,7 +3938,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'pthread_rwlockattr_init': Function(type='int', derefcnt=0, name='pthread_rwlockattr_init', args=[Argument(type='pthread_rwlockattr_t', derefcnt=1, name='attr')]), 'pthread_rwlockattr_setkind_np': Function(type='int', derefcnt=0, name='pthread_rwlockattr_setkind_np', args=[Argument(type='pthread_rwlockattr_t', derefcnt=1, name='attr'), Argument(type='int', derefcnt=0, name='pref')]), 'pthread_rwlockattr_setpshared': Function(type='int', derefcnt=0, name='pthread_rwlockattr_setpshared', args=[Argument(type='pthread_rwlockattr_t', derefcnt=1, name='attr'), Argument(type='int', derefcnt=0, name='pshared')]), - 'pthread_self': Function(type='pthread_t', derefcnt=0, name='pthread_self', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'pthread_self': Function(type='pthread_t', derefcnt=0, name='pthread_self', args=[]), 'pthread_setaffinity_np': Function(type='int', derefcnt=0, name='pthread_setaffinity_np', args=[Argument(type='pthread_t', derefcnt=0, name='th'), Argument(type='size_t', derefcnt=0, name='cpusetsize'), Argument(type='cpu_set_t', derefcnt=1, name='cpuset')]), 'pthread_setattr_default_np': Function(type='int', derefcnt=0, name='pthread_setattr_default_np', args=[Argument(type='pthread_attr_t', derefcnt=1, name='attr')]), 'pthread_setcancelstate': Function(type='int', derefcnt=0, name='pthread_setcancelstate', args=[Argument(type='int', derefcnt=0, name='state'), Argument(type='int', derefcnt=1, name='oldstate')]), @@ -3946,13 +3955,13 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'pthread_spin_lock': Function(type='int', derefcnt=0, name='pthread_spin_lock', args=[Argument(type='pthread_spinlock_t', derefcnt=1, name='lock')]), 'pthread_spin_trylock': Function(type='int', derefcnt=0, name='pthread_spin_trylock', args=[Argument(type='pthread_spinlock_t', derefcnt=1, name='lock')]), 'pthread_spin_unlock': Function(type='int', derefcnt=0, name='pthread_spin_unlock', args=[Argument(type='pthread_spinlock_t', derefcnt=1, name='lock')]), - 'pthread_testcancel': Function(type='void', derefcnt=0, name='pthread_testcancel', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'pthread_testcancel': Function(type='void', derefcnt=0, name='pthread_testcancel', args=[]), 'pthread_timedjoin_np': Function(type='int', derefcnt=0, name='pthread_timedjoin_np', args=[Argument(type='pthread_t', derefcnt=0, name='th'), Argument(type='void', derefcnt=2, name='thread_return'), Argument(type='timespec', derefcnt=1, name='abstime')]), 'pthread_tryjoin_np': Function(type='int', derefcnt=0, name='pthread_tryjoin_np', args=[Argument(type='pthread_t', derefcnt=0, name='th'), Argument(type='void', derefcnt=2, name='thread_return')]), 'pthread_unregister_cancel': Function(type='void', derefcnt=0, name='pthread_unregister_cancel', args=[Argument(type='pthread_unwind_buf_t', derefcnt=1, name='buf')]), 'pthread_unregister_cancel_restore': Function(type='void', derefcnt=0, name='pthread_unregister_cancel_restore', args=[Argument(type='pthread_unwind_buf_t', derefcnt=1, name='buf')]), 'pthread_unwind_next': Function(type='void', derefcnt=0, name='pthread_unwind_next', args=[Argument(type='pthread_unwind_buf_t', derefcnt=1, name='buf')]), - 'pthread_yield': Function(type='int', derefcnt=0, name='pthread_yield', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'pthread_yield': Function(type='int', derefcnt=0, name='pthread_yield', args=[]), 'ptrace': Function(type='long', derefcnt=0, name='ptrace', args=[Argument(type='ptrace_request', derefcnt=0, name='request'), Argument(type='int', derefcnt=0, name='vararg')]), 'ptsname': Function(type='char', derefcnt=1, name='ptsname', args=[Argument(type='int', derefcnt=0, name='fd')]), 'ptsname_r': Function(type='int', derefcnt=0, name='ptsname_r', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen')]), @@ -3992,9 +4001,9 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'qsort_r': Function(type='void', derefcnt=0, name='qsort_r', args=[Argument(type='void', derefcnt=1, name='base'), Argument(type='size_t', derefcnt=0, name='nmemb'), Argument(type='size_t', derefcnt=0, name='size'), Argument(type='compar_d_fn_t', derefcnt=0, name='compar'), Argument(type='void', derefcnt=1, name='arg')]), 'quick_exit': Function(type='void', derefcnt=0, name='quick_exit', args=[Argument(type='int', derefcnt=0, name='status')]), 'raise': Function(type='int', derefcnt=0, name='raise', args=[Argument(type='int', derefcnt=0, name='sig')]), - 'rand': Function(type='int', derefcnt=0, name='rand', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'rand': Function(type='int', derefcnt=0, name='rand', args=[]), 'rand_r': Function(type='int', derefcnt=0, name='rand_r', args=[Argument(type='unsigned', derefcnt=1, name='seed')]), - 'random': Function(type='long', derefcnt=0, name='random', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'random': Function(type='long', derefcnt=0, name='random', args=[]), 'random_r': Function(type='int', derefcnt=0, name='random_r', args=[Argument(type='random_data', derefcnt=1, name='buf'), Argument(type='int32_t', derefcnt=1, name='result')]), 'rawmemchr': Function(type='void', derefcnt=1, name='rawmemchr', args=[Argument(type='void', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='c')]), 'rcmd': Function(type='int', derefcnt=0, name='rcmd', args=[Argument(type='char', derefcnt=2, name='ahost'), Argument(type='unsigned', derefcnt=0, name='rport'), Argument(type='char', derefcnt=1, name='locuser'), Argument(type='char', derefcnt=1, name='remuser'), Argument(type='char', derefcnt=1, name='cmd'), Argument(type='int', derefcnt=1, name='fd2p')]), @@ -4043,11 +4052,11 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'remquol': Function(type='long', derefcnt=0, name='remquol', args=[Argument(type='long', derefcnt=0, name='x'), Argument(type='long', derefcnt=0, name='y'), Argument(type='int', derefcnt=1, name='quo')]), 'rename': Function(type='int', derefcnt=0, name='rename', args=[Argument(type='char', derefcnt=1, name='old'), Argument(type='char', derefcnt=1, name='new')]), 'renameat': Function(type='int', derefcnt=0, name='renameat', args=[Argument(type='int', derefcnt=0, name='oldfd'), Argument(type='char', derefcnt=1, name='old'), Argument(type='int', derefcnt=0, name='newfd'), Argument(type='char', derefcnt=1, name='new')]), - 'res_close': Function(type='void', derefcnt=0, name='res_close', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'res_close': Function(type='void', derefcnt=0, name='res_close', args=[]), 'res_dnok': Function(type='int', derefcnt=0, name='res_dnok', args=[Argument(type='char', derefcnt=1, name='arg0')]), 'res_hnok': Function(type='int', derefcnt=0, name='res_hnok', args=[Argument(type='char', derefcnt=1, name='arg0')]), 'res_hostalias': Function(type='char', derefcnt=1, name='res_hostalias', args=[Argument(type='res_state', derefcnt=0, name='arg0'), Argument(type='char', derefcnt=1, name='arg1'), Argument(type='char', derefcnt=1, name='arg2'), Argument(type='size_t', derefcnt=0, name='arg3')]), - 'res_init': Function(type='int', derefcnt=0, name='res_init', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'res_init': Function(type='int', derefcnt=0, name='res_init', args=[]), 'res_isourserver': Function(type='int', derefcnt=0, name='res_isourserver', args=[Argument(type='sockaddr_in', derefcnt=1, name='arg0')]), 'res_mailok': Function(type='int', derefcnt=0, name='res_mailok', args=[Argument(type='char', derefcnt=1, name='arg0')]), 'res_mkquery': Function(type='int', derefcnt=0, name='res_mkquery', args=[Argument(type='int', derefcnt=0, name='arg0'), Argument(type='char', derefcnt=1, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='int', derefcnt=0, name='arg3'), Argument(type='u_char', derefcnt=1, name='arg4'), Argument(type='int', derefcnt=0, name='arg5'), Argument(type='u_char', derefcnt=1, name='arg6'), Argument(type='u_char', derefcnt=1, name='arg7'), Argument(type='int', derefcnt=0, name='arg8')]), @@ -4065,12 +4074,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'res_queriesmatch': Function(type='int', derefcnt=0, name='res_queriesmatch', args=[Argument(type='u_char', derefcnt=1, name='arg0'), Argument(type='u_char', derefcnt=1, name='arg1'), Argument(type='u_char', derefcnt=1, name='arg2'), Argument(type='u_char', derefcnt=1, name='arg3')]), 'res_query': Function(type='int', derefcnt=0, name='res_query', args=[Argument(type='char', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='u_char', derefcnt=1, name='arg3'), Argument(type='int', derefcnt=0, name='arg4')]), 'res_querydomain': Function(type='int', derefcnt=0, name='res_querydomain', args=[Argument(type='char', derefcnt=1, name='arg0'), Argument(type='char', derefcnt=1, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='int', derefcnt=0, name='arg3'), Argument(type='u_char', derefcnt=1, name='arg4'), Argument(type='int', derefcnt=0, name='arg5')]), - 'res_randomid': Function(type='u_int', derefcnt=0, name='res_randomid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'res_randomid': Function(type='u_int', derefcnt=0, name='res_randomid', args=[]), 'res_search': Function(type='int', derefcnt=0, name='res_search', args=[Argument(type='char', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='int', derefcnt=0, name='arg2'), Argument(type='u_char', derefcnt=1, name='arg3'), Argument(type='int', derefcnt=0, name='arg4')]), 'res_send': Function(type='int', derefcnt=0, name='res_send', args=[Argument(type='u_char', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=0, name='arg1'), Argument(type='u_char', derefcnt=1, name='arg2'), Argument(type='int', derefcnt=0, name='arg3')]), 'res_send_qhook': Function(type='res_sendhookact', derefcnt=0, name='res_send_qhook', args=[Argument(type='sockaddr_in', derefcnt=2, name='ns'), Argument(type='u_char', derefcnt=2, name='query'), Argument(type='int', derefcnt=1, name='querylen'), Argument(type='u_char', derefcnt=1, name='ans'), Argument(type='int', derefcnt=0, name='anssiz'), Argument(type='int', derefcnt=1, name='resplen')]), 'res_send_rhook': Function(type='res_sendhookact', derefcnt=0, name='res_send_rhook', args=[Argument(type='sockaddr_in', derefcnt=1, name='ns'), Argument(type='u_char', derefcnt=1, name='query'), Argument(type='int', derefcnt=0, name='querylen'), Argument(type='u_char', derefcnt=1, name='ans'), Argument(type='int', derefcnt=0, name='anssiz'), Argument(type='int', derefcnt=1, name='resplen')]), - 'res_state': Function(type='res_state', derefcnt=1, name='res_state', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'res_state': Function(type='res_state', derefcnt=1, name='res_state', args=[]), 'revoke': Function(type='int', derefcnt=0, name='revoke', args=[Argument(type='char', derefcnt=1, name='file')]), 'rewind': Function(type='void', derefcnt=0, name='rewind', args=[Argument(type='FILE', derefcnt=1, name='stream')]), 'rewinddir': Function(type='void', derefcnt=0, name='rewinddir', args=[Argument(type='DIR', derefcnt=1, name='dirp')]), @@ -4098,7 +4107,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'rsa_verify': Function(type='int', derefcnt=0, name='rsa_verify', args=[Argument(type='int', derefcnt=0, name='dtype'), Argument(type='unsigned', derefcnt=1, name='m'), Argument(type='unsigned', derefcnt=0, name='m_length'), Argument(type='unsigned', derefcnt=1, name='sigbuf'), Argument(type='unsigned', derefcnt=0, name='siglen'), Argument(type='RSA', derefcnt=1, name='rsa')]), 'ruserok': Function(type='int', derefcnt=0, name='ruserok', args=[Argument(type='char', derefcnt=1, name='rhost'), Argument(type='int', derefcnt=0, name='suser'), Argument(type='char', derefcnt=1, name='remuser'), Argument(type='char', derefcnt=1, name='locuser')]), 'ruserok_af': Function(type='int', derefcnt=0, name='ruserok_af', args=[Argument(type='char', derefcnt=1, name='rhost'), Argument(type='int', derefcnt=0, name='suser'), Argument(type='char', derefcnt=1, name='remuser'), Argument(type='char', derefcnt=1, name='locuser'), Argument(type='sa_family_t', derefcnt=0, name='af')]), - 'sa_restorer': Function(type='void', derefcnt=0, name='sa_restorer', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'sa_restorer': Function(type='void', derefcnt=0, name='sa_restorer', args=[]), 'sa_sigaction': Function(type='void', derefcnt=0, name='sa_sigaction', args=[Argument(type='int', derefcnt=0, name='arg0'), Argument(type='siginfo_t', derefcnt=1, name='arg1'), Argument(type='void', derefcnt=1, name='arg2')]), 'sbrk': Function(type='void', derefcnt=1, name='sbrk', args=[Argument(type='intptr_t', derefcnt=0, name='delta')]), 'scalb': Function(type='double', derefcnt=0, name='scalb', args=[Argument(type='double', derefcnt=0, name='x'), Argument(type='double', derefcnt=0, name='n')]), @@ -4121,14 +4130,14 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'sched_get_priority_max': Function(type='int', derefcnt=0, name='sched_get_priority_max', args=[Argument(type='int', derefcnt=0, name='algorithm')]), 'sched_get_priority_min': Function(type='int', derefcnt=0, name='sched_get_priority_min', args=[Argument(type='int', derefcnt=0, name='algorithm')]), 'sched_getaffinity': Function(type='int', derefcnt=0, name='sched_getaffinity', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='size_t', derefcnt=0, name='cpusetsize'), Argument(type='cpu_set_t', derefcnt=1, name='cpuset')]), - 'sched_getcpu': Function(type='int', derefcnt=0, name='sched_getcpu', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'sched_getcpu': Function(type='int', derefcnt=0, name='sched_getcpu', args=[]), 'sched_getparam': Function(type='int', derefcnt=0, name='sched_getparam', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='sched_param', derefcnt=1, name='param')]), 'sched_getscheduler': Function(type='int', derefcnt=0, name='sched_getscheduler', args=[Argument(type='pid_t', derefcnt=0, name='pid')]), 'sched_rr_get_interval': Function(type='int', derefcnt=0, name='sched_rr_get_interval', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='timespec', derefcnt=1, name='t')]), 'sched_setaffinity': Function(type='int', derefcnt=0, name='sched_setaffinity', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='size_t', derefcnt=0, name='cpusetsize'), Argument(type='cpu_set_t', derefcnt=1, name='cpuset')]), 'sched_setparam': Function(type='int', derefcnt=0, name='sched_setparam', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='sched_param', derefcnt=1, name='param')]), 'sched_setscheduler': Function(type='int', derefcnt=0, name='sched_setscheduler', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='int', derefcnt=0, name='policy'), Argument(type='sched_param', derefcnt=1, name='param')]), - 'sched_yield': Function(type='int', derefcnt=0, name='sched_yield', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'sched_yield': Function(type='int', derefcnt=0, name='sched_yield', args=[]), 'secure_getenv': Function(type='char', derefcnt=1, name='secure_getenv', args=[Argument(type='char', derefcnt=1, name='name')]), 'seed48': Function(type='unsigned', derefcnt=1, name='seed48', args=[Argument(type='unsigned', derefcnt=1, name='seed16v')]), 'seed48_r': Function(type='int', derefcnt=0, name='seed48_r', args=[Argument(type='unsigned', derefcnt=1, name='seed16v'), Argument(type='drand48_data', derefcnt=1, name='buffer')]), @@ -4155,7 +4164,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'sendmsg': Function(type='ssize_t', derefcnt=0, name='sendmsg', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='msghdr', derefcnt=1, name='message'), Argument(type='int', derefcnt=0, name='flags')]), 'sendto': Function(type='ssize_t', derefcnt=0, name='sendto', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='void', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='n'), Argument(type='int', derefcnt=0, name='flags'), Argument(type='CONST_SOCKADDR_ARG', derefcnt=0, name='addr'), Argument(type='socklen_t', derefcnt=0, name='addr_len')]), 'set_asn1_parameters': Function(type='int', derefcnt=0, name='set_asn1_parameters', args=[Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='arg0'), Argument(type='ASN1_TYPE', derefcnt=1, name='arg1')]), - 'setaliasent': Function(type='void', derefcnt=0, name='setaliasent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setaliasent': Function(type='void', derefcnt=0, name='setaliasent', args=[]), 'setbuf': Function(type='void', derefcnt=0, name='setbuf', args=[Argument(type='FILE', derefcnt=1, name='stream'), Argument(type='char', derefcnt=1, name='buf')]), 'setbuffer': Function(type='void', derefcnt=0, name='setbuffer', args=[Argument(type='FILE', derefcnt=1, name='stream'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='size')]), 'setcontext': Function(type='int', derefcnt=0, name='setcontext', args=[Argument(type='ucontext_t', derefcnt=1, name='ucp')]), @@ -4163,9 +4172,9 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'setegid': Function(type='int', derefcnt=0, name='setegid', args=[Argument(type='gid_t', derefcnt=0, name='gid')]), 'setenv': Function(type='int', derefcnt=0, name='setenv', args=[Argument(type='char', derefcnt=1, name='name'), Argument(type='char', derefcnt=1, name='value'), Argument(type='int', derefcnt=0, name='replace')]), 'seteuid': Function(type='int', derefcnt=0, name='seteuid', args=[Argument(type='uid_t', derefcnt=0, name='uid')]), - 'setfsent': Function(type='int', derefcnt=0, name='setfsent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setfsent': Function(type='int', derefcnt=0, name='setfsent', args=[]), 'setgid': Function(type='int', derefcnt=0, name='setgid', args=[Argument(type='gid_t', derefcnt=0, name='gid')]), - 'setgrent': Function(type='void', derefcnt=0, name='setgrent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setgrent': Function(type='void', derefcnt=0, name='setgrent', args=[]), 'setgroups': Function(type='int', derefcnt=0, name='setgroups', args=[Argument(type='size_t', derefcnt=0, name='n'), Argument(type='gid_t', derefcnt=1, name='groups')]), 'sethostent': Function(type='void', derefcnt=0, name='sethostent', args=[Argument(type='int', derefcnt=0, name='stay_open')]), 'sethostid': Function(type='int', derefcnt=0, name='sethostid', args=[Argument(type='long', derefcnt=0, name='id')]), @@ -4184,10 +4193,10 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'setnetgrent': Function(type='int', derefcnt=0, name='setnetgrent', args=[Argument(type='char', derefcnt=1, name='netgroup')]), 'setns': Function(type='int', derefcnt=0, name='setns', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='int', derefcnt=0, name='nstype')]), 'setpgid': Function(type='int', derefcnt=0, name='setpgid', args=[Argument(type='pid_t', derefcnt=0, name='pid'), Argument(type='pid_t', derefcnt=0, name='pgid')]), - 'setpgrp': Function(type='int', derefcnt=0, name='setpgrp', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setpgrp': Function(type='int', derefcnt=0, name='setpgrp', args=[]), 'setpriority': Function(type='int', derefcnt=0, name='setpriority', args=[Argument(type='priority_which_t', derefcnt=0, name='which'), Argument(type='id_t', derefcnt=0, name='who'), Argument(type='int', derefcnt=0, name='prio')]), 'setprotoent': Function(type='void', derefcnt=0, name='setprotoent', args=[Argument(type='int', derefcnt=0, name='stay_open')]), - 'setpwent': Function(type='void', derefcnt=0, name='setpwent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setpwent': Function(type='void', derefcnt=0, name='setpwent', args=[]), 'setregid': Function(type='int', derefcnt=0, name='setregid', args=[Argument(type='gid_t', derefcnt=0, name='rgid'), Argument(type='gid_t', derefcnt=0, name='egid')]), 'setresgid': Function(type='int', derefcnt=0, name='setresgid', args=[Argument(type='gid_t', derefcnt=0, name='rgid'), Argument(type='gid_t', derefcnt=0, name='egid'), Argument(type='gid_t', derefcnt=0, name='sgid')]), 'setresuid': Function(type='int', derefcnt=0, name='setresuid', args=[Argument(type='uid_t', derefcnt=0, name='ruid'), Argument(type='uid_t', derefcnt=0, name='euid'), Argument(type='uid_t', derefcnt=0, name='suid')]), @@ -4196,19 +4205,19 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'setrlimit64': Function(type='int', derefcnt=0, name='setrlimit64', args=[Argument(type='rlimit_resource_t', derefcnt=0, name='resource'), Argument(type='rlimit64', derefcnt=1, name='rlimits')]), 'setrpcent': Function(type='void', derefcnt=0, name='setrpcent', args=[Argument(type='int', derefcnt=0, name='stayopen')]), 'setservent': Function(type='void', derefcnt=0, name='setservent', args=[Argument(type='int', derefcnt=0, name='stay_open')]), - 'setsgent': Function(type='void', derefcnt=0, name='setsgent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'setsid': Function(type='pid_t', derefcnt=0, name='setsid', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setsgent': Function(type='void', derefcnt=0, name='setsgent', args=[]), + 'setsid': Function(type='pid_t', derefcnt=0, name='setsid', args=[]), 'setsockopt': Function(type='int', derefcnt=0, name='setsockopt', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='int', derefcnt=0, name='level'), Argument(type='int', derefcnt=0, name='optname'), Argument(type='void', derefcnt=1, name='optval'), Argument(type='socklen_t', derefcnt=0, name='optlen')]), 'setsourcefilter': Function(type='int', derefcnt=0, name='setsourcefilter', args=[Argument(type='int', derefcnt=0, name='s'), Argument(type='uint32_t', derefcnt=0, name='interface_addr'), Argument(type='sockaddr', derefcnt=1, name='group'), Argument(type='socklen_t', derefcnt=0, name='grouplen'), Argument(type='uint32_t', derefcnt=0, name='fmode'), Argument(type='uint32_t', derefcnt=0, name='numsrc'), Argument(type='sockaddr_storage', derefcnt=1, name='slist')]), - 'setspent': Function(type='void', derefcnt=0, name='setspent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setspent': Function(type='void', derefcnt=0, name='setspent', args=[]), 'setstate': Function(type='char', derefcnt=1, name='setstate', args=[Argument(type='char', derefcnt=1, name='statebuf')]), 'setstate_r': Function(type='int', derefcnt=0, name='setstate_r', args=[Argument(type='char', derefcnt=1, name='statebuf'), Argument(type='random_data', derefcnt=1, name='buf')]), 'settimeofday': Function(type='int', derefcnt=0, name='settimeofday', args=[Argument(type='timeval', derefcnt=1, name='tv'), Argument(type='timezone', derefcnt=1, name='tz')]), - 'setttyent': Function(type='int', derefcnt=0, name='setttyent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setttyent': Function(type='int', derefcnt=0, name='setttyent', args=[]), 'setuid': Function(type='int', derefcnt=0, name='setuid', args=[Argument(type='uid_t', derefcnt=0, name='uid')]), - 'setusershell': Function(type='void', derefcnt=0, name='setusershell', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'setutent': Function(type='void', derefcnt=0, name='setutent', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'setutxent': Function(type='void', derefcnt=0, name='setutxent', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'setusershell': Function(type='void', derefcnt=0, name='setusershell', args=[]), + 'setutent': Function(type='void', derefcnt=0, name='setutent', args=[]), + 'setutxent': Function(type='void', derefcnt=0, name='setutxent', args=[]), 'setvbuf': Function(type='int', derefcnt=0, name='setvbuf', args=[Argument(type='FILE', derefcnt=1, name='stream'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='modes'), Argument(type='size_t', derefcnt=0, name='n')]), 'sgetsgent': Function(type='sgrp', derefcnt=1, name='sgetsgent', args=[Argument(type='char', derefcnt=1, name='string')]), 'sgetsgent_r': Function(type='int', derefcnt=0, name='sgetsgent_r', args=[Argument(type='char', derefcnt=1, name='string'), Argument(type='sgrp', derefcnt=1, name='result_buf'), Argument(type='char', derefcnt=1, name='buffer'), Argument(type='size_t', derefcnt=0, name='buflen'), Argument(type='sgrp', derefcnt=2, name='result')]), @@ -4229,7 +4238,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'sigdelset': Function(type='int', derefcnt=0, name='sigdelset', args=[Argument(type='sigset_t', derefcnt=1, name='set'), Argument(type='int', derefcnt=0, name='signo')]), 'sigemptyset': Function(type='int', derefcnt=0, name='sigemptyset', args=[Argument(type='sigset_t', derefcnt=1, name='set')]), 'sigfillset': Function(type='int', derefcnt=0, name='sigfillset', args=[Argument(type='sigset_t', derefcnt=1, name='set')]), - 'siggetmask': Function(type='int', derefcnt=0, name='siggetmask', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'siggetmask': Function(type='int', derefcnt=0, name='siggetmask', args=[]), 'sighandler_t': Function(type='void', derefcnt=0, name='sighandler_t', args=[Argument(type='int', derefcnt=0, name='arg0')]), 'sighold': Function(type='int', derefcnt=0, name='sighold', args=[Argument(type='int', derefcnt=0, name='sig')]), 'sigignore': Function(type='int', derefcnt=0, name='sigignore', args=[Argument(type='int', derefcnt=0, name='sig')]), @@ -4258,6 +4267,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'sigstack': Function(type='int', derefcnt=0, name='sigstack', args=[Argument(type='sigstack', derefcnt=1, name='ss'), Argument(type='sigstack', derefcnt=1, name='oss')]), 'sigsuspend': Function(type='int', derefcnt=0, name='sigsuspend', args=[Argument(type='sigset_t', derefcnt=1, name='set')]), 'sigtimedwait': Function(type='int', derefcnt=0, name='sigtimedwait', args=[Argument(type='sigset_t', derefcnt=1, name='set'), Argument(type='siginfo_t', derefcnt=1, name='info'), Argument(type='timespec', derefcnt=1, name='timeout')]), + 'sigvec': Function(type='int', derefcnt=0, name='sigvec', args=[Argument(type='int', derefcnt=0, name='sig'), Argument(type='sigvec', derefcnt=1, name='vec'), Argument(type='sigvec', derefcnt=1, name='ovec')]), 'sigwait': Function(type='int', derefcnt=0, name='sigwait', args=[Argument(type='sigset_t', derefcnt=1, name='set'), Argument(type='int', derefcnt=1, name='sig')]), 'sigwaitinfo': Function(type='int', derefcnt=0, name='sigwaitinfo', args=[Argument(type='sigset_t', derefcnt=1, name='set'), Argument(type='siginfo_t', derefcnt=1, name='info')]), 'sin': Function(type='double', derefcnt=0, name='sin', args=[Argument(type='double', derefcnt=0, name='x')]), @@ -4278,7 +4288,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'sk_insert': Function(type='int', derefcnt=0, name='sk_insert', args=[Argument(type='STACK', derefcnt=1, name='sk'), Argument(type='void', derefcnt=1, name='data'), Argument(type='int', derefcnt=0, name='where')]), 'sk_is_sorted': Function(type='int', derefcnt=0, name='sk_is_sorted', args=[Argument(type='STACK', derefcnt=1, name='st')]), 'sk_new': Function(type='STACK', derefcnt=1, name='sk_new', args=[Argument(type='int', derefcnt=0, name='cmp')]), - 'sk_new_null': Function(type='STACK', derefcnt=1, name='sk_new_null', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'sk_new_null': Function(type='STACK', derefcnt=1, name='sk_new_null', args=[]), 'sk_num': Function(type='int', derefcnt=0, name='sk_num', args=[Argument(type='STACK', derefcnt=1, name='arg0')]), 'sk_pop': Function(type='void', derefcnt=1, name='sk_pop', args=[Argument(type='STACK', derefcnt=1, name='st')]), 'sk_pop_free': Function(type='void', derefcnt=0, name='sk_pop_free', args=[Argument(type='STACK', derefcnt=1, name='st'), Argument(type='void', derefcnt=0, name='func')]), @@ -4325,7 +4335,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ssl_renegotiate': Function(type='int', derefcnt=0, name='ssl_renegotiate', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'ssl_renegotiate_check': Function(type='int', derefcnt=0, name='ssl_renegotiate_check', args=[Argument(type='SSL', derefcnt=1, name='s')]), 'ssl_shutdown': Function(type='int', derefcnt=0, name='ssl_shutdown', args=[Argument(type='SSL', derefcnt=1, name='s')]), - 'ssl_version': Function(type='int', derefcnt=0, name='ssl_version', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ssl_version': Function(type='int', derefcnt=0, name='ssl_version', args=[]), 'ssl_write': Function(type='int', derefcnt=0, name='ssl_write', args=[Argument(type='SSL', derefcnt=1, name='s'), Argument(type='void', derefcnt=1, name='buf'), Argument(type='int', derefcnt=0, name='len')]), 'ssl_write_bytes': Function(type='int', derefcnt=0, name='ssl_write_bytes', args=[Argument(type='SSL', derefcnt=1, name='s'), Argument(type='int', derefcnt=0, name='type'), Argument(type='void', derefcnt=1, name='buf_'), Argument(type='int', derefcnt=0, name='len')]), 'stat': Function(type='int', derefcnt=0, name='stat', args=[Argument(type='char', derefcnt=1, name='file'), Argument(type='stat', derefcnt=1, name='buf')]), @@ -4403,7 +4413,7 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'sym_ston': Function(type='int', derefcnt=0, name='sym_ston', args=[Argument(type='res_sym', derefcnt=1, name='arg0'), Argument(type='char', derefcnt=1, name='arg1'), Argument(type='int', derefcnt=1, name='arg2')]), 'symlink': Function(type='int', derefcnt=0, name='symlink', args=[Argument(type='char', derefcnt=1, name='from'), Argument(type='char', derefcnt=1, name='to')]), 'symlinkat': Function(type='int', derefcnt=0, name='symlinkat', args=[Argument(type='char', derefcnt=1, name='from'), Argument(type='int', derefcnt=0, name='tofd'), Argument(type='char', derefcnt=1, name='to')]), - 'sync': Function(type='void', derefcnt=0, name='sync', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'sync': Function(type='void', derefcnt=0, name='sync', args=[]), 'sync_file_range': Function(type='int', derefcnt=0, name='sync_file_range', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='off64_t', derefcnt=0, name='offset'), Argument(type='off64_t', derefcnt=0, name='count'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'syncfs': Function(type='int', derefcnt=0, name='syncfs', args=[Argument(type='int', derefcnt=0, name='fd')]), 'syscall': Function(type='long', derefcnt=0, name='syscall', args=[Argument(type='long', derefcnt=0, name='sysno'), Argument(type='int', derefcnt=0, name='vararg')]), @@ -4426,10 +4436,10 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'tcsendbreak': Function(type='int', derefcnt=0, name='tcsendbreak', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='int', derefcnt=0, name='duration')]), 'tcsetattr': Function(type='int', derefcnt=0, name='tcsetattr', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='int', derefcnt=0, name='optional_actions'), Argument(type='termios', derefcnt=1, name='termios_p')]), 'tcsetpgrp': Function(type='int', derefcnt=0, name='tcsetpgrp', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='pid_t', derefcnt=0, name='pgrp_id')]), - 'td_init': Function(type='td_err_e', derefcnt=0, name='td_init', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'td_key_iter_f': Function(type='int', derefcnt=0, name='td_key_iter_f', args=[Argument(type='thread_key_t', derefcnt=0, name='arg0'), Argument(type='void', derefcnt=0, name=''), Argument(type='void', derefcnt=1, name='arg2')]), - 'td_log': Function(type='td_err_e', derefcnt=0, name='td_log', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'td_symbol_list': Function(type='char', derefcnt=2, name='td_symbol_list', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'td_init': Function(type='td_err_e', derefcnt=0, name='td_init', args=[]), + 'td_key_iter_f': Function(type='int', derefcnt=0, name='td_key_iter_f', args=[Argument(type='thread_key_t', derefcnt=0, name='arg0'), Argument(type='void', derefcnt=1, name='arg2')]), + 'td_log': Function(type='td_err_e', derefcnt=0, name='td_log', args=[]), + 'td_symbol_list': Function(type='char', derefcnt=2, name='td_symbol_list', args=[]), 'td_ta_clear_event': Function(type='td_err_e', derefcnt=0, name='td_ta_clear_event', args=[Argument(type='td_thragent_t', derefcnt=1, name='ta'), Argument(type='td_thr_events_t', derefcnt=1, name='event')]), 'td_ta_delete': Function(type='td_err_e', derefcnt=0, name='td_ta_delete', args=[Argument(type='td_thragent_t', derefcnt=1, name='ta')]), 'td_ta_enable_stats': Function(type='td_err_e', derefcnt=0, name='td_ta_enable_stats', args=[Argument(type='td_thragent_t', derefcnt=1, name='ta'), Argument(type='int', derefcnt=0, name='enable')]), @@ -4494,8 +4504,8 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'tlsext_servername_callback': Function(type='int', derefcnt=0, name='tlsext_servername_callback', args=[Argument(type='SSL', derefcnt=1, name='arg0'), Argument(type='int', derefcnt=1, name='arg1'), Argument(type='void', derefcnt=1, name='arg2')]), 'tlsext_status_cb': Function(type='int', derefcnt=0, name='tlsext_status_cb', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='void', derefcnt=1, name='arg')]), 'tlsext_ticket_key_cb': Function(type='int', derefcnt=0, name='tlsext_ticket_key_cb', args=[Argument(type='SSL', derefcnt=1, name='ssl'), Argument(type='unsigned', derefcnt=1, name='name'), Argument(type='unsigned', derefcnt=1, name='iv'), Argument(type='EVP_CIPHER_CTX', derefcnt=1, name='ectx'), Argument(type='HMAC_CTX', derefcnt=1, name='hctx'), Argument(type='int', derefcnt=0, name='enc')]), - 'tmpfile': Function(type='FILE', derefcnt=1, name='tmpfile', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'tmpfile64': Function(type='FILE', derefcnt=1, name='tmpfile64', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'tmpfile': Function(type='FILE', derefcnt=1, name='tmpfile', args=[]), + 'tmpfile64': Function(type='FILE', derefcnt=1, name='tmpfile64', args=[]), 'tmpnam': Function(type='char', derefcnt=1, name='tmpnam', args=[Argument(type='char', derefcnt=1, name='s')]), 'tmpnam_r': Function(type='char', derefcnt=1, name='tmpnam_r', args=[Argument(type='char', derefcnt=1, name='s')]), 'toascii': Function(type='int', derefcnt=0, name='toascii', args=[Argument(type='int', derefcnt=0, name='c')]), @@ -4517,12 +4527,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'tsearch': Function(type='void', derefcnt=1, name='tsearch', args=[Argument(type='void', derefcnt=1, name='key'), Argument(type='void', derefcnt=2, name='rootp'), Argument(type='compar_fn_t', derefcnt=0, name='compar')]), 'ttyname': Function(type='char', derefcnt=1, name='ttyname', args=[Argument(type='int', derefcnt=0, name='fd')]), 'ttyname_r': Function(type='int', derefcnt=0, name='ttyname_r', args=[Argument(type='int', derefcnt=0, name='fd'), Argument(type='char', derefcnt=1, name='buf'), Argument(type='size_t', derefcnt=0, name='buflen')]), - 'ttyslot': Function(type='int', derefcnt=0, name='ttyslot', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ttyslot': Function(type='int', derefcnt=0, name='ttyslot', args=[]), 'twalk': Function(type='void', derefcnt=0, name='twalk', args=[Argument(type='void', derefcnt=1, name='root'), Argument(type='action_fn_t', derefcnt=0, name='action')]), - 'tzset': Function(type='void', derefcnt=0, name='tzset', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'tzset': Function(type='void', derefcnt=0, name='tzset', args=[]), 'ualarm': Function(type='useconds_t', derefcnt=0, name='ualarm', args=[Argument(type='useconds_t', derefcnt=0, name='value'), Argument(type='useconds_t', derefcnt=0, name='interval')]), 'uflow': Function(type='int', derefcnt=0, name='uflow', args=[Argument(type='IO_FILE', derefcnt=1, name='arg0')]), - 'ulckpwdf': Function(type='int', derefcnt=0, name='ulckpwdf', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'ulckpwdf': Function(type='int', derefcnt=0, name='ulckpwdf', args=[]), 'ulimit': Function(type='long', derefcnt=0, name='ulimit', args=[Argument(type='int', derefcnt=0, name='cmd'), Argument(type='int', derefcnt=0, name='vararg')]), 'umask': Function(type='mode_t', derefcnt=0, name='umask', args=[Argument(type='mode_t', derefcnt=0, name='mask')]), 'uname': Function(type='int', derefcnt=0, name='uname', args=[Argument(type='utsname', derefcnt=1, name='name')]), @@ -4556,12 +4566,12 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'verrx': Function(type='void', derefcnt=0, name='verrx', args=[Argument(type='int', derefcnt=0, name='status'), Argument(type='char', derefcnt=1, name='arg1'), Argument(type='gnuc_va_list', derefcnt=0, name='arg2')]), 'versionsort': Function(type='int', derefcnt=0, name='versionsort', args=[Argument(type='dirent', derefcnt=2, name='e1'), Argument(type='dirent', derefcnt=2, name='e2')]), 'versionsort64': Function(type='int', derefcnt=0, name='versionsort64', args=[Argument(type='dirent64', derefcnt=2, name='e1'), Argument(type='dirent64', derefcnt=2, name='e2')]), - 'vfork': Function(type='pid_t', derefcnt=0, name='vfork', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'vfork': Function(type='pid_t', derefcnt=0, name='vfork', args=[]), 'vfprintf': Function(type='int', derefcnt=0, name='vfprintf', args=[Argument(type='FILE', derefcnt=1, name='s'), Argument(type='char', derefcnt=1, name='format'), Argument(type='gnuc_va_list', derefcnt=0, name='arg')]), 'vfscanf': Function(type='int', derefcnt=0, name='vfscanf', args=[Argument(type='FILE', derefcnt=1, name='s'), Argument(type='char', derefcnt=1, name='format'), Argument(type='gnuc_va_list', derefcnt=0, name='arg')]), 'vfwprintf': Function(type='int', derefcnt=0, name='vfwprintf', args=[Argument(type='FILE', derefcnt=1, name='s'), Argument(type='wchar_t', derefcnt=1, name='format'), Argument(type='gnuc_va_list', derefcnt=0, name='arg')]), 'vfwscanf': Function(type='int', derefcnt=0, name='vfwscanf', args=[Argument(type='FILE', derefcnt=1, name='s'), Argument(type='wchar_t', derefcnt=1, name='format'), Argument(type='gnuc_va_list', derefcnt=0, name='arg')]), - 'vhangup': Function(type='int', derefcnt=0, name='vhangup', args=[Argument(type='void', derefcnt=0, name='arg0')]), + 'vhangup': Function(type='int', derefcnt=0, name='vhangup', args=[]), 'vmsplice': Function(type='ssize_t', derefcnt=0, name='vmsplice', args=[Argument(type='int', derefcnt=0, name='fdout'), Argument(type='iovec', derefcnt=1, name='iov'), Argument(type='size_t', derefcnt=0, name='count'), Argument(type='unsigned', derefcnt=0, name='flags')]), 'vprintf': Function(type='int', derefcnt=0, name='vprintf', args=[Argument(type='char', derefcnt=1, name='format'), Argument(type='gnuc_va_list', derefcnt=0, name='arg')]), 'vscanf': Function(type='int', derefcnt=0, name='vscanf', args=[Argument(type='char', derefcnt=1, name='format'), Argument(type='gnuc_va_list', derefcnt=0, name='arg')]), @@ -4669,5 +4679,5 @@ functions = {'ASN1_BIT_STRING_check': Function(type='int', derefcnt=0, name='ASN 'ynf': Function(type='float', derefcnt=0, name='ynf', args=[Argument(type='int', derefcnt=0, name='arg0'), Argument(type='float', derefcnt=0, name='arg1')]), 'ynl': Function(type='long', derefcnt=0, name='ynl', args=[Argument(type='int', derefcnt=0, name='arg0'), Argument(type='long', derefcnt=0, name='arg1')]), 'zError': Function(type='char', derefcnt=1, name='zError', args=[Argument(type='int', derefcnt=0, name='arg0')]), - 'zlibCompileFlags': Function(type='uLong', derefcnt=0, name='zlibCompileFlags', args=[Argument(type='void', derefcnt=0, name='arg0')]), - 'zlibVersion': Function(type='char', derefcnt=1, name='zlibVersion', args=[Argument(type='void', derefcnt=0, name='arg0')])} + 'zlibCompileFlags': Function(type='uLong', derefcnt=0, name='zlibCompileFlags', args=[]), + 'zlibVersion': Function(type='char', derefcnt=1, name='zlibVersion', args=[])} diff --git a/pwndbg/ida.py b/pwndbg/ida.py index 7f797af3..59b37525 100644 --- a/pwndbg/ida.py +++ b/pwndbg/ida.py @@ -111,6 +111,13 @@ def GetFuncOffset(addr): rv = _ida.GetFuncOffset(addr) return rv +@withIDA +@takes_address +@pwndbg.memoize.reset_on_objfile +def GetType(addr): + rv = _ida.GetType(addr) + return rv + @withIDA @returns_address def here(): @@ -186,20 +193,20 @@ def SetColor(pc, color): colored_pc = None -# @pwndbg.events.stop -# @withIDA -# def Auto_Color_PC(): -# global colored_pc -# colored_pc = pwndbg.regs.pc -# SetColor(colored_pc, 0x7f7fff)c +@pwndbg.events.stop +@withIDA +def Auto_Color_PC(): + global colored_pc + colored_pc = pwndbg.regs.pc + SetColor(colored_pc, 0x7f7fff) -# @pwndbg.events.cont -# @withIDA -# def Auto_UnColor_PC(): -# global colored_pc -# if colored_pc: -# SetColor(colored_pc, 0xffffff) -# colored_pc = None +@pwndbg.events.cont +@withIDA +def Auto_UnColor_PC(): + global colored_pc + if colored_pc: + SetColor(colored_pc, 0xffffff) + colored_pc = None @withIDA @returns_address @@ -237,3 +244,9 @@ def GetFlags(addr): @pwndbg.memoize.reset_on_objfile def isASCII(flags): return _ida.isASCII(flags) + +@withIDA +@takes_address +@pwndbg.memoize.reset_on_objfile +def ArgCount(address): + pass \ No newline at end of file diff --git a/pwndbg/jump/__init__.py b/pwndbg/jump/__init__.py index 4b5fbfe4..95e4c5fe 100644 --- a/pwndbg/jump/__init__.py +++ b/pwndbg/jump/__init__.py @@ -1,18 +1,18 @@ -import pwndbg.arch -import pwndbg.jump.mips -import pwndbg.jump.arm -import pwndbg.jump.ppc -import pwndbg.jump.x86 -import pwndbg.jump.sparc +# import pwndbg.arch +# import pwndbg.jump.mips +# import pwndbg.jump.arm +# import pwndbg.jump.ppc +# import pwndbg.jump.x86 +# import pwndbg.jump.sparc -def get_target(pc): - return { - 'i386': pwndbg.jump.x86.resolver, - 'x86-64': pwndbg.jump.x86.resolver - }.get(pwndbg.arch.current, lambda *a: None)(pc) +# def get_target(pc): +# return { +# 'i386': pwndbg.jump.x86.resolver, +# 'x86-64': pwndbg.jump.x86.resolver +# }.get(pwndbg.arch.current, lambda *a: None)(pc) -class Foo(object): - @property - def foobar(self): - return self._foobar +# class Foo(object): +# @property +# def foobar(self): +# return self._foobar diff --git a/pwndbg/jump/x86.py b/pwndbg/jump/x86.py deleted file mode 100644 index e8c81dfa..00000000 --- a/pwndbg/jump/x86.py +++ /dev/null @@ -1,82 +0,0 @@ -import pwndbg.arch -import pwndbg.memory -import pwndbg.regs - -from capstone import * -from capstone.x86 import * - -md = Cs(CS_ARCH_X86, CS_MODE_32) -md.detail = True - -class TargetResolver(object): - groups = {v:k for k,v in globals().items() if k.startswith('X86_GRP_')} - ops = {v:k for k,v in globals().items() if k.startswith('X86_OP_')} - regs = {v:k for k,v in globals().items() if k.startswith('X86_REG_')} - - def __init__(self): - self.classes = { - X86_GRP_CALL: self.call_or_jump, - X86_GRP_JUMP: self.call_or_jump, - X86_GRP_RET: self.ret - } - - def resolve(self, address): - code = bytes(pwndbg.memory.read(address, 16)) - - md.mode = CS_MODE_32 if pwndbg.arch.ptrsize == 4 else CS_MODE_64 - - instruction = next(md.disasm(code, address, 1)) - - for group in instruction.groups: - function = self.classes.get(group, None) - print(self.groups[group]) - if function: - return function(instruction) - - def get_operand_target(self, op): - # EB/E8/E9 or similar "call $+offset" - # Capstone handles the instruction + instruction size. - if op.type == X86_OP_IMM: - return op.value.imm - - # jmp/call REG - if op.type == X86_OP_REG: - regname = instruction.reg_name(op.value.reg) - return pwndbg.regs[regname] - - # base + disp + scale * offset - assert op.type == X86_OP_MEM, "Invalid operand type %i" % op.type - - target = 0 - - if op.mem.base != 0: - regname = instruction.reg_name(op.value.reg) - target += pwndbg.regs[regname] - - if op.mem.disp != 0: - target += op.value.mem.disp - - if op.mem.index != 0: - scale = op.mem.scale - index = pwndbg.regs[instruction.reg_name(op.mem.index)] - target += (scale * index) - - return target - - - def call_or_jump(self, instruction): - ops = instruction.operands - assert len(ops) == 1, "Too many operands (%i)" % len(ops) - - return self.get_operand_target(ops[0]) - - def ret(self, instruction): - target = pwndbg.regs.sp - - for op in instruction.operands: - assert op.type == X86_OP_IMM, "Unknown RET operand type" - target += op.value.imm - - return pwndbg.memory.pvoid(target) - -resolver = TargetResolver() diff --git a/pwndbg/memory.py b/pwndbg/memory.py index 1fd09f12..c1745666 100644 --- a/pwndbg/memory.py +++ b/pwndbg/memory.py @@ -10,8 +10,15 @@ import pwndbg.typeinfo PAGE_SIZE = 0x1000 MMAP_MIN_ADDR = 0x10000 -def read(addr, count): - result = gdb.selected_inferior().read_memory(addr, count) +def read(addr, count, partial=False): + try: + result = gdb.selected_inferior().read_memory(addr, count) + except gdb.error as e: + if not partial: + raise + + stop_addr = int(e.message.split()[-1], 0) + return read(addr, stop_addr-addr) if pwndbg.compat.python3: result = result.tobytes() @@ -42,15 +49,23 @@ def ushort(addr): return readtype(pwndbg.typeinfo.ushort, addr) def uint(addr): return readtype(pwndbg.typeinfo.uint, addr) def pvoid(addr): return readtype(pwndbg.typeinfo.pvoid, addr) -def u8(addr): return readtype(pwndbg.typeinfo.uint8_t, addr) -def u16(addr): return readtype(pwndbg.typeinfo.uint16_t, addr) -def u32(addr): return readtype(pwndbg.typeinfo.uint32_t, addr) -def u64(addr): return readtype(pwndbg.typeinfo.uint64_t, addr) +def u8(addr): return readtype(pwndbg.typeinfo.uint8, addr) +def u16(addr): return readtype(pwndbg.typeinfo.uint16, addr) +def u32(addr): return readtype(pwndbg.typeinfo.uint32, addr) +def u64(addr): return readtype(pwndbg.typeinfo.uint64, addr) -def s8(addr): return readtype(pwndbg.typeinfo.int8_t, addr) -def s16(addr): return readtype(pwndbg.typeinfo.int16_t, addr) -def s32(addr): return readtype(pwndbg.typeinfo.int32_t, addr) -def s64(addr): return readtype(pwndbg.typeinfo.int64_t, addr) +def u(addr, size): + return { + 8: u8, + 16: u16, + 32: u32, + 64: u64 + }[size](addr) + +def s8(addr): return readtype(pwndbg.typeinfo.int8, addr) +def s16(addr): return readtype(pwndbg.typeinfo.int16, addr) +def s32(addr): return readtype(pwndbg.typeinfo.int32, addr) +def s64(addr): return readtype(pwndbg.typeinfo.int64, addr) def write(addr, data): gdb.selected_inferior().write_memory(addr, data) diff --git a/pwndbg/regs.py b/pwndbg/regs.py index 3130c9fc..6a032140 100644 --- a/pwndbg/regs.py +++ b/pwndbg/regs.py @@ -189,7 +189,13 @@ class module(ModuleType): def __getattr__(self, attr): try: - value = int(gdb.parse_and_eval('$' + attr.lstrip('$'))) + value = gdb.parse_and_eval('$' + attr.lstrip('$')) + if 'eflags' not in attr: + value = value.cast(pwndbg.typeinfo.ptrdiff) + else: + # Seriously, gdb? Only accepts uint32. + value = value.cast(pwndbg.typeinfo.uint32) + value = int(value) return value & pwndbg.arch.ptrmask except gdb.error: return None @@ -198,7 +204,12 @@ class module(ModuleType): if isinstance(item, int): return arch_to_regs[pwndbg.arch.current][item] - assert isinstance(item, str), "Unknown type %r" % item + if not isinstance(item, basestring): + print "Unknown register type: %r" % (item) + import pdb, traceback + traceback.print_stack() + pdb.set_trace() + return None # e.g. if we're looking for register "$rax", turn it into "rax" item = item.lstrip('$') diff --git a/pwndbg/stdio.py b/pwndbg/stdio.py index 7fbbf8fa..522d7579 100644 --- a/pwndbg/stdio.py +++ b/pwndbg/stdio.py @@ -13,18 +13,28 @@ import gdb import pwndbg.compat def get(fd, mode): - file = io.open(fd, mode=mode, buffering=0, closefd=False) - return io.TextIOWrapper(file, write_through=True) + if pwndbg.compat.python3: + file = io.open(fd, mode=mode, buffering=0) + + kw ={} + if pwndbg.compat.python3: + kw['write_through']=True + + return io.TextIOWrapper(file, **kw) + else: + return open(fd, mode=mode) + class Stdio(object): queue = [] def __enter__(self, *a, **kw): self.queue.append((sys.stdin, sys.stdout, sys.stderr)) - if pwndbg.compat.python3: - sys.stdin = get(0, 'rb') - sys.stdout = get(1, 'wb') - sys.stderr = get(2, 'wb') + + if pwndbg.compat.python3 or True: + sys.stdin = get('/dev/stdin', 'rb') + sys.stdout = get('/dev/stdout', 'wb') + sys.stderr = get('/dev/stderr', 'wb') def __exit__(self, *a, **kw): sys.stdin, sys.stdout, sys.stderr = self.queue.pop() diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..c84ef9bd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +capstone>=4.0 +pycparser \ No newline at end of file