add the remaining symbols

Change-Id: I81b63d9e0e164e07cee3e10072a565e669b98196
replace malloc with std::vector

Change-Id: I3546d0d005d17286107ff2c70a29a4bceebd36a0
no need for typedefs here

Change-Id: I93c6a2ead9dfa25799376e4cfc88d77e18a4c9fd