MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / escape

Function escape

python/examples/export_svg.py:25–29  ·  view source on GitHub ↗
(toescape)

Source from the content-addressed store, hash-verified

23
24
25def escape(toescape):
26 # handle extended unicode
27 toescape = toescape.encode('ascii', 'xmlcharrefreplace')
28 # still escape the basics
29 return ''.join(escape_table.get(chr(i), chr(i)) for i in toescape)
30
31
32def save_svg(bv, function):

Callers 2

render_svgFunction · 0.85
setFilterStringFunction · 0.85

Calls 3

encodeMethod · 0.80
joinMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected