Staging
v0.5.1
https://github.com/python/cpython
Revision a99121526a14e7710843aa5dd6ac82a779542dfb authored by Victor Stinner on 13 October 2017, 20:46:57 UTC, committed by GitHub on 13 October 2017, 20:46:57 UTC
LoadLibrary("SHELL32") is not vulnerable to DLL hijacking.
1 parent ccef823
Raw File
Tip revision: a99121526a14e7710843aa5dd6ac82a779542dfb authored by Victor Stinner on 13 October 2017, 20:46:57 UTC
os.startfile(): add a C comment on security (#3877)
Tip revision: a991215
ast.h
#ifndef Py_AST_H
#define Py_AST_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyAST_Validate(mod_ty);
PyAPI_FUNC(mod_ty) PyAST_FromNode(
    const node *n,
    PyCompilerFlags *flags,
    const char *filename,       /* decoded from the filesystem encoding */
    PyArena *arena);
PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
    const node *n,
    PyCompilerFlags *flags,
    PyObject *filename,
    PyArena *arena);

#ifdef __cplusplus
}
#endif
#endif /* !Py_AST_H */
back to top