Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
namespace_asm Namespace Reference

Functions

Set[str] get_functionnames (str filecontent)

Variables

 FNAME_REGEX = re.compile(, re.VERBOSE)
 file
 prime = sys.argv[1]
 inputfilename = sys.argv[2]
 contents = fh.read()
Set[str] functionnames = get_functionnames(contents)

Function Documentation

◆ get_functionnames()

Set[str] get_functionnames ( str filecontent)

Definition at line 10 of file namespace_asm.py.

10def get_functionnames(filecontent: str) -> Set[str]:
11 found = set()
12 for line in filecontent.splitlines():
13 if (match := FNAME_REGEX.search(line)) is not None:
14 name = match.group("name") or match.group("label")
15 if "secsidh_csidh_internal" in name or "secsidh_ctidh_internal" in name or name == "randombytes":
16 continue
17 found.add(name)
18 return found
19
20

Variable Documentation

◆ contents

contents = fh.read()

Definition at line 32 of file namespace_asm.py.

◆ file

file

Definition at line 24 of file namespace_asm.py.

◆ FNAME_REGEX

FNAME_REGEX = re.compile(, re.VERBOSE)

Definition at line 4 of file namespace_asm.py.

◆ functionnames

Set[str] functionnames = get_functionnames(contents)

Definition at line 34 of file namespace_asm.py.

◆ inputfilename

inputfilename = sys.argv[2]

Definition at line 27 of file namespace_asm.py.

◆ prime

prime = sys.argv[1]

Definition at line 26 of file namespace_asm.py.