nl_tokens: Parses out any information regarding binary images . The output of this function is of the following format :
pl_tokens: function parse ( report ) { var rows = [ '' , 'Binary Images:' ] ; var sys = report [ 'system' ] || { } ; var exe_path = sys [ 'CFBundleExecutablePath' ] ; var images = report [ 'binary_images' ] || [ ] ; _ . each ( images , function ( image ) { // for arch var cpu = image [ 'cpu_type' ] ; var cpu_sub = image [ 'cpu_subtype' ] ; var arch = CPU . get_cpu_arch ( cpu , cpu_sub ) ; // for paths var path = image [ 'name' ] ; var name = p . basename ( path ) ; var is_base = path === exe_path ? '+' : ' ' ; // for uuid var uuid = lower_and_replace ( image [ 'uuid' ] ) ; // for addresses var addr = image [ 'image_addr' ] ; var <mask> = image [ 'image_size' ] ; var ad_hex = '0x' + Utils . to_hex ( addr ) ; var end_hex = '0x' + Utils . to_hex ( addr + size - 1 ) ; var p_addr = Utils . pad_left ( ad_hex , ' ' , 10 ) ; var e_addr = Utils . pad_left ( end_hex , ' ' , 10 ) ; // output rows . push ( ` ${ p_addr } ${ e_addr } ${ is_base } ${ name } ${ arch } ${ uuid } ${ path } ` ) ; } ) ; return rows ; }