Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JLospinoso/gargoyle
/ functions
Functions
215 in github.com/JLospinoso/gargoyle
⨍
Functions
215
◇
Types & classes
23
↓ 1 callers
Function
print_usage
GargoyleArm64/arm_runtime.hpp:182
↓ 1 callers
Function
processor_architecture_name
GargoyleArm64/arm_runtime.hpp:411
↓ 1 callers
Function
read_binary
GargoyleX64/main_x64.cpp:146
↓ 1 callers
Function
read_binary
GargoyleArm64/arm_runtime.hpp:251
↓ 1 callers
Function
run_acceptance
Run the one-click Gargoyle acceptance check. Args: configuration: Visual Studio configuration to build and run. platform: Visual
src/gargoyle_acceptance/harness.py:185
↓ 1 callers
Function
setup_banner_complete
Return whether captured lines contain a complete setup banner. Args: lines: Captured process output. platform: Platform-specific
src/gargoyle_acceptance/harness.py:332
↓ 1 callers
Method
terminate
Mark the fake process as terminated.
tests/test_harness.py:82
↓ 1 callers
Method
wait_for_message_box
Wait for a visible MessageBox window with the expected title. Args: pid: Process ID that should own the window. title
src/gargoyle_acceptance/windows.py:22
↓ 1 callers
Method
wait_until_closed
Wait until a window handle is no longer valid. Args: hwnd: Native window handle. timeout_seconds: Maximum time to wai
src/gargoyle_acceptance/windows.py:105
Method
__init__
Start consuming text lines from a process stream. Args: stream: Text stream returned by `subprocess.Popen`.
src/gargoyle_acceptance/harness.py:153
Method
__init__
Load the Win32 user32 API.
src/gargoyle_acceptance/windows.py:18
Method
__init__
Store fake stdout. Args: stdout: Stream to expose as process stdout.
tests/test_harness.py:101
Method
__init__
(self)
tests/test_harness.py:432
Method
__str__
Return a plain-text message suitable for logs and tests. Returns: The title, detail, and optional hint in a compact sentence.
src/gargoyle_acceptance/errors.py:22
Method
_read
Read stream lines until EOF and signal completion. Args: stream: Text stream returned by `subprocess.Popen`.
src/gargoyle_acceptance/harness.py:174
Function
acceptance
Run Gargoyle's Windows-only acceptance validation. Args: configuration: Visual Studio configuration to build and run. repo_root:
src/gargoyle_acceptance/cli.py:31
Function
arm64ec_create_waitable_timer_w
GargoyleArm64/arm_runtime.hpp:370
Function
arm64ec_message_box_a
GargoyleArm64/arm_runtime.hpp:389
Function
arm64ec_set_waitable_timer
GargoyleArm64/arm_runtime.hpp:378
Function
arm64ec_sleep_ex
GargoyleArm64/arm_runtime.hpp:366
Function
arm64ec_virtual_protect_ex
GargoyleArm64/arm_runtime.hpp:356
Method
callback
(hwnd: int, _lparam: int)
src/gargoyle_acceptance/windows.py:73
Method
close_window
Record a closed fake window.
tests/test_harness.py:439
Function
fail
(*_args: object, **_kwargs: object)
tests/test_harness.py:417
Function
fail
(**_kwargs)
tests/test_cli.py:47
Function
fail
(*_args: object, **_kwargs: object)
tests/test_environment.py:382
Function
fake_run
(command: tuple[str, ...], **kwargs: object)
tests/test_build.py:22
Function
main
main.cpp:380
Function
main
GargoyleX64/main_x64.cpp:245
Function
main
GargoyleArm64/main_arm64.cpp:11
Function
main
GargoyleArm64EC/main_arm64ec.cpp:7
Function
test_acceptance_error_string_without_hint
Errors without hints render compactly.
tests/test_errors.py:8
Function
test_architecture_report_complete_returns_boolean
Report completeness helper returns boolean parse status.
tests/test_architecture.py:76
Function
test_artifacts_for_selects_existing_arm_candidate
ARM artifact discovery accepts project-local output candidates.
tests/test_environment.py:192
Function
test_artifacts_for_selects_existing_candidate
Artifact discovery accepts an alternate VS output candidate when files exist there.
tests/test_environment.py:179
Function
test_artifacts_for_uses_arm64_default_output_directory
ARM64 artifact paths match the expected root solution output.
tests/test_environment.py:157
Function
test_artifacts_for_uses_arm64ec_default_output_directory
ARM64EC artifact paths match the expected root solution output.
tests/test_environment.py:168
Function
test_artifacts_for_uses_configuration_output_directory
Artifact paths match the Visual Studio output directory convention.
tests/test_environment.py:137
Function
test_artifacts_for_uses_x64_default_output_directory
x64 artifact paths match the root solution's Visual Studio default output.
tests/test_environment.py:146
Function
test_build_environment_prepends_nasm_directory
MSBuild receives a PATH where the resolved NASM directory comes first.
tests/test_build.py:98
Function
test_build_solution_accepts_toolset_environment_override
Optional toolset override is passed to MSBuild for hosted ARM images.
tests/test_build.py:70
Function
test_build_solution_raises_on_failure
MSBuild failures become actionable acceptance errors.
tests/test_build.py:109
Function
test_build_solution_raises_on_timeout
MSBuild timeouts become actionable acceptance errors.
tests/test_build.py:125
Function
test_build_solution_uses_expected_msbuild_command
The build command stays narrow: configuration, platform, and parallel build.
tests/test_build.py:15
Function
test_build_solution_uses_visual_studio_arm_platform_name
ARM platform builds use Visual Studio's uppercase platform spelling.
tests/test_build.py:43
Function
test_cli_failure
The CLI renders actionable acceptance errors.
tests/test_cli.py:44
Function
test_cli_success
The CLI renders a passing report.
tests/test_cli.py:33
Function
test_close_message_boxes_closes_requested_rounds
The MessageBox closer waits for and closes each requested round.
tests/test_harness.py:426
Function
test_close_message_boxes_reports_early_exit
The MessageBox closer reports a crash before payload validation.
tests/test_harness.py:494
Function
test_coerce_optional_path
Optional Typer paths are resolved only when present.
tests/test_environment.py:317
Function
test_machine_name_falls_back_for_unknown_values
Unknown PE machines render with a hexadecimal fallback.
tests/test_pe.py:59
Function
test_msbuild_candidates_uses_program_files_env
Common MSBuild candidates are generated from Program Files environment values.
tests/test_environment.py:323
Function
test_msbuild_from_vswhere_empty_output
Empty vswhere output is treated as no discovery.
tests/test_environment.py:366
Function
test_msbuild_from_vswhere_error
vswhere execution errors are treated as no discovery.
tests/test_environment.py:376
Function
test_msbuild_from_vswhere_success
vswhere output is converted into an MSBuild path.
tests/test_environment.py:352
Function
test_msbuild_platform_uses_visual_studio_spelling
MSBuild platform names preserve Visual Studio ARM capitalization.
tests/test_environment.py:68
Function
test_parse_acceptance_mode_accepts_supported_values
Mode parsing accepts all supported acceptance modes.
tests/test_environment.py:54
Function
test_parse_acceptance_mode_rejects_unknown_value
Mode parsing gives a clear error for unsupported names.
tests/test_environment.py:62
Function
test_parse_architecture_report_accepts_arm64x_machine
Architecture parsing accepts ARM64X report machine values for ARM64EC.
tests/test_architecture.py:39
Function
test_parse_architecture_report_accepts_hex_machine_and_infers_platform
Architecture parsing accepts hexadecimal machine values.
tests/test_architecture.py:30
Function
test_parse_architecture_report_accepts_key_value_lines
Architecture parsing accepts prefixed key-value report lines.
tests/test_architecture.py:15
Function
test_parse_architecture_report_rejects_missing_platform_context
Architecture parsing needs either platform, machine, or expected platform.
tests/test_architecture.py:62
Function
test_parse_architecture_report_rejects_unknown_machine
Architecture parsing rejects unrecognized machine tokens.
tests/test_architecture.py:56
Function
test_parse_architecture_report_uses_expected_platform_when_omitted
Architecture parsing can use the requested platform as fallback context.
tests/test_architecture.py:47
Function
test_parse_configuration_accepts_supported_values
Configuration parsing accepts the two supported Visual Studio names.
tests/test_environment.py:28
Function
test_parse_configuration_rejects_unknown_value
Configuration parsing gives a clear error for unsupported names.
tests/test_environment.py:34
Function
test_parse_platform_accepts_supported_values
Platform parsing accepts the supported Visual Studio solution platforms.
tests/test_environment.py:40
Function
test_parse_platform_rejects_unknown_value
Platform parsing gives a clear error for unsupported names.
tests/test_environment.py:48
Function
test_parse_setup_output_accepts_arm64_complete_banner
Setup parsing accepts the ARM64 timer/APC banner.
tests/test_harness.py:126
Function
test_parse_setup_output_accepts_complete_banner
Setup parsing accepts all required markers and non-zero addresses.
tests/test_harness.py:110
Function
test_parse_setup_output_accepts_x64_complete_banner
Setup parsing accepts the x64 timer/APC banner.
tests/test_harness.py:118
Function
test_parse_setup_output_ignores_malformed_address
Malformed address lines are treated as missing evidence.
tests/test_harness.py:148
Function
test_parse_setup_output_rejects_missing_marker
Setup parsing identifies an incomplete setup chain.
tests/test_harness.py:134
Function
test_parse_setup_output_rejects_null_address
Setup parsing rejects null addresses in the banner.
tests/test_harness.py:140
Function
test_platform_pointer_bits
Pointer width expectations match the native platform families.
tests/test_environment.py:75
Function
test_read_pe_machine_reads_coff_header
PE parser reads the IMAGE_FILE_MACHINE value from an executable.
tests/test_pe.py:14
Function
test_read_pe_machine_rejects_invalid_image
PE parser rejects files without PE headers.
tests/test_pe.py:50
Function
test_require_windows_accepts_windows
Platform validation accepts Windows.
tests/test_environment.py:87
Function
test_require_windows_rejects_non_windows
Platform validation rejects non-Windows systems.
tests/test_environment.py:81
Function
test_resolve_msbuild_accepts_explicit_path
MSBuild resolution accepts an explicit executable path.
tests/test_environment.py:205
Function
test_resolve_msbuild_rejects_bad_explicit_path
MSBuild resolution reports a bad explicit path.
tests/test_environment.py:213
Function
test_resolve_msbuild_reports_missing
MSBuild resolution reports a fully missing toolchain.
tests/test_environment.py:257
Function
test_resolve_msbuild_uses_common_candidate
MSBuild resolution checks common Visual Studio paths.
tests/test_environment.py:230
Function
test_resolve_msbuild_uses_path
MSBuild resolution checks PATH before common install locations.
tests/test_environment.py:219
Function
test_resolve_msbuild_uses_vswhere
MSBuild resolution falls back to vswhere.
tests/test_environment.py:243
Function
test_resolve_nasm_reports_missing
NASM resolution reports a missing assembler clearly.
tests/test_environment.py:290
Function
test_resolve_nasm_uses_path
NASM resolution checks PATH.
tests/test_environment.py:267
Function
test_resolve_nasm_uses_winget_install_dir
NASM resolution checks the standard winget install location.
tests/test_environment.py:276
Function
test_resolve_repo_root_accepts_file_start
Repository root discovery accepts a file path as the start point.
tests/test_environment.py:102
Function
test_resolve_repo_root_fails_with_hint
Repository root discovery reports a missing checkout clearly.
tests/test_environment.py:112
Function
test_resolve_repo_root_walks_upward
Repository root discovery walks up from nested directories.
tests/test_environment.py:92
Function
test_resolve_toolchain_combines_tools
Toolchain resolution returns both MSBuild and NASM.
tests/test_environment.py:302
Function
test_run_acceptance_architecture_mode_dispatches_report
Architecture mode validates the executable's architecture report.
tests/test_harness.py:266
Function
test_run_acceptance_artifacts_mode_skips_windows_and_runtime
Artifacts mode validates static outputs without launching Gargoyle.
tests/test_harness.py:224
Function
test_run_acceptance_headless_mode_dispatches_setup
Headless mode parses setup output without MessageBox automation.
tests/test_harness.py:317
Function
test_run_acceptance_orchestrates_build_and_runtime
The high-level runner wires environment, build, setup, windows, and cleanup.
tests/test_harness.py:162
Function
test_run_acceptance_rejects_zero_rounds
The runner rejects nonsensical MessageBox round counts.
tests/test_harness.py:359
Function
test_setup_banner_complete_returns_boolean
The completeness helper is convenient for streaming output.
tests/test_harness.py:156
Function
test_start_gargoyle_reports_launch_failure
Launch failures become actionable errors.
tests/test_harness.py:402
Function
test_terminate_process_ignores_already_exited_process
Process cleanup is a no-op when Gargoyle already exited.
tests/test_harness.py:460
← previous
next →
101–200 of 215, ranked by callers