Commit Graph
233 Commits
Author SHA1 Message Date
AlexJoaquimPereira 80926a20e4 Keep a pin size estimate in its own project's dialog (R2.10)
A pin estimate that finished after the person cancelled or opened another project's dialog wrote its size into the open draft; an estimate error could also fall through to a toast. The estimate result and every project_pin_create error now name the project (estimate errors also say estimate), and the dialog fills only when the Pin dialog is open for the same normalized project. Estimate errors the open dialog rejects are swallowed; a failed pin creation still tells the person.

Regressions: a late estimate and a late estimate error for another project, an estimate after the dialog closed, and a failed creation that still toasts. Engine tests check the estimate result and both error details, including an open-project failure.
2026-11-16 23:56:16 +05:30
AlexJoaquimPereira 21affde516 Refuse a project file over 16 MB in the builder's read tool (R2.9)
build_file_read used std::fs::read, so a builder could point it at a multi-GB generated file under app/ or target/ and allocate the whole file before the 256 KiB page was produced; MAX_READ only capped the returned page.

It now reads through platform::fs::read_file_capped with a 16 MiB cap. A file over the cap returns OverLimit with a plain message and a remediation; files at or under the cap page as before. The helper also rejects non-regular files before reading.

Regression: a 16 MiB + 1 text file is refused and a file exactly at 16 MiB still returns its first page; the over-cap assertion failed before the fix, where the tool read it and returned a page. A follow-up roadmap line records build_file_edit, which still reads the whole file.
2026-11-16 23:02:53 +05:30
BFlat 59f2e3f49f Merge pull request #1964 from Fadlalla-ai/bugfix/r5.7-pin-own-program
A build folder shared by several projects holds every project's programs, and a same-named one there was taken for this project's: Play started it and a new pin copied it. A program outside the project now counts only when Cargo's dep-info file beside it lists sources inside the project, and the newest of the project's own builds is started. A pin made before programs were recorded looks only inside its own copy.
2026-11-17 00:13:01 +07:00
BFlat 44293b47f0 Merge pull request #1962 from AlexJoaquimPereira/bugfix/r2.9-project-evidence-switch
A session that opened one project and then another kept the first project's evidence and open questions in its ledger, so the second project's report and evidence tools mixed both. Opening a different project now clears the ledger, its order, the open questions and the unloaded count before loading the new project's store; reopening the same project still refreshes it in place. Records are saved to their project as they are made, so nothing is lost by clearing.
2026-11-17 00:04:33 +07:00
BFlat 88b2490892 Merge pull request #1961 from Fadlalla-ai/bugfix/r5.7-engine-path-folder
A path set in Settings → Engines counted as found whenever it existed, so a JDK's folder set for the Java runtime was listed as installed and then run as a program ("permission denied"). A folder is now looked in the way an install folder is, newest version first with digit runs compared as numbers; a folder without the program isn't found, and the message names the folder.
2026-11-16 23:55:43 +07:00
Fadlalla-ai 00cf099a38 Take a program from a shared Cargo target directory only when it was built from the project, and start an older pin from its own copy 2026-11-16 20:47:03 +04:00
AlexJoaquimPereira 12bfb1fafd Start a newly opened project from its own evidence (R2.9)
A session that opened project A and then B kept A's ledger and open questions: open_project loaded B's records into the same ledger. The desktop app has one engine for its lifetime, and each rebuild opens its project's investigation, so B's report and evidence tools mixed both projects.

Opening a different project now clears the session ledger, its order, open questions and unloaded count before loading the new project's store. Reopening the same project still refreshes it in place, and a failed unknowns read leaves the current project untouched. unloaded_evidence is recomputed on every open.

Regression: two projects with stored evidence and an open question; switching shows only the new project's records, reopening the same project keeps its ledger, and reopening the first restores its records. A follow-up roadmap line records the open targets and annotations that still survive a switch.
2026-11-16 22:04:36 +05:30
Fadlalla-ai a1c1c8abb9 Look for an engine's program in a folder set as its path, instead of running the folder 2026-11-16 20:18:11 +04:00
Fadlalla-ai 1520028963 Run JADX on the Java runtime engine, so it works with the Java Ghidra's setup brings 2026-11-16 19:54:38 +04:00
Fadlalla-ai b4b51bc300 Find the Java that Ghidra's setup brings as the Java runtime, where Vineflower and the listing look 2026-11-16 17:48:58 +04:00
FredApps 239dc0536a Take target file signatures from the shared craft-sniff table (R3.12) (#1948)
* Take target file signatures from the shared craft-sniff table

* Pin craft-sniff to the craft-libs #1841 merge and record the cutover

The shared table is on main at 070005125f0af1a5ae4a59002270e5849505bfc0.

* Keep named-but-unsupported formats as Unknown

A CPIO file starting 070701 was identified by craft-sniff, then fell
through to the unsigned path and was called text. Identified kinds this
app does not inspect stay Unknown; the unsigned fallback is only for
files with no signature.
2026-11-16 14:40:58 +01:00
Fadlalla-ai 131b1ef49d Keep old pins on their own copy, and a linked project's build inside it
A pin from before programs were recorded starts what its copy holds again (file
lookup), not where Cargo builds the project now. Cargo prints real paths, so its
target folder for a project opened through a link is put back under the path
the project was given as, and a pin doesn't take the project's own build for an
outside one.
2026-11-16 16:28:57 +04:00
Fadlalla-ai 7037414257 Ask Cargo where a Rust build went when its program starts
The file lookup from #1941 stays for frequent reads (the Project screen). Where a
program is about to start or be checked (Play, pins, the build's run and
screenshot checks), launch_now also runs cargo metadata from the project and
looks in its target_directory first, which covers what the files don't:
$CARGO_HOME/config.toml, CARGO_BUILD_TARGET_DIR and a parent workspace's
target/. Outside the project, only a program the manifests name is taken.
2026-11-16 16:21:23 +04:00
AlexJoaquimPereira 216295fdcd Keep shared target programs out of unnamed projects, and copy pins (R5.7)
A shared or ancestor target directory outside app now supplies only a program the manifests name. Without a name, only target directories inside app are searched, so another project's executable isn't started. built_program_in(app, env) makes the tests independent of the process's CARGO_TARGET_DIR.

The ancestor walk starts from a normalized absolute app, so a relative app reaches a config above the working directory; normalized paths also keep .. out of selected programs. Cargo's legacy config wins over config.toml when it exists, and a config without the key or with invalid TOML doesn't fall through.

A pin copies a program built outside app into pin-program/ and records that relative path; other executables in a shared folder are not copied, and the frozen pin keeps working when the external build is removed.
2026-11-16 17:24:07 +05:30
AlexJoaquimPereira 842f011ae0 Find a Rust build's program under Cargo's target directory (R5.7)
A project whose Cargo settings move the build output (build.target-dir in .cargo/config.toml, or CARGO_TARGET_DIR) built, but Play and the screenshot/self-test checks only looked in app/target, so they could not start the program. built_program now looks under CARGO_TARGET_DIR, then the closest project or ancestor .cargo setting, then the default target/ as a fallback, and starts the first target directory that has the named program.

The new AI regression uses a project with target-dir = "out" and fails before the fix; engine tests cover the environment path (relative and absolute), a project setting, an ancestor setting, the environment coming first, and the default fallback.
2026-11-16 17:24:06 +05:30
htjulia 2330f627b7 Say how many response bodies a walkthrough left out, and why (R3.13)
A walkthrough with keep_bodies.response_body kept bodies for the first
200 requests and said nothing about the rest, so a request without a
response_body read as one that had no body (#1811; web_page_show's
outlines were fixed in #1845). The network result now counts the kept
bodies, and a response_bodies_partial limitation says how many were
left out: past the cap, after the run's deadline, or unreadable.

Co-Authored-By: htjulia <htjulia1@gmail.com>
2026-11-16 10:11:39 +09:00
FuryNocturn ab74a2730e Hide keys in a plugin's arguments in its log, and keep what a server that stopped answering printed (R5.5) 2026-11-16 01:30:50 +01:00
FuryNocturnTV (Tare Fernandez) febf096ea4 Keep a failure log when an MCP plugin doesn't start, and say what it printed (R5.5) (#1921)
A local MCP plugin that exited before answering only said "The X plugin exited." It now gives its exit code and the last lines it printed, and a write to a server that has already gone gives the same error. When a local plugin can't be started, exits, or doesn't answer in time, a failure log is written to logs/ in the config folder and named in the error. The plugin's environment is left out of the log, and a remote plugin or a stop writes none. The failure-log writer moves to the engine crate so plugins and agent runs share it.
2026-11-16 01:15:53 +07:00
gmrmad1 45e16b09b1 Write inbox requests and answers owner-only (#1911)
A project's inbox request and answer files were written with the default mode, usually readable by every local account, though a request can carry the person's own words and an answer a typed reply or an approval. Both are now written owner-only (0600 on Unix). Whether an answer could be forged by another local process is a separate question and is not changed here.
2026-11-15 23:28:15 +07:00
Herwin bd405ceeb5 Study websites behind a login: save a sign-in you make in a browser window and reuse it (R2.9) (#1459)
Addresses #1178 (which also consolidates #1277).

## The problem

The website study a build starts with opens a fresh private browser, so a web app behind a login is studied as its sign-in or landing page, and the builder then builds a sign-in page.

## What this adds

- **`web_site_sign_in { url }`** opens a visible browser window on the site. The person signs in there themselves and closes the window. The browser's profile is then saved in Craft Anything's own folder, keyed by the site's host and port. Craft Anything never sees or stores a password and still never reads cookie or storage values.
- **`web_site_open`** uses a saved sign-in for that exact host and port when there is one, by copying it into the usual temporary profile (headless as before, deleted afterwards). `signed_in: false` forces the private profile; `signed_in: true` with nothing saved is a clear error naming the sign-in tool. Nothing else about the private path changes.
- **`web_site_sign_out { url }`** forgets a saved sign-in.
- **A check right after saving.** The sign-in tool reopens the site headless exactly as a later study will, and reports whether it still looks like a sign-in page, plus a screenshot kept in the site's owner-only folder (path, hash and size are returned, not the picture, so the person's account screen is not sent to an agent).
- **Typed facts through to the builder.** `signed_in`, `signed_in_site` and `sign_in_page` are in the open result, the capture result and `capture.json`. The website briefs tell the builder the capture is the signed-in view only when it is signed in and does not look like a sign-in page. A not-signed-in capture with a password field says how to sign in; a signed-in one says the sign-in may have ended.
- The check phase opens the built site with `signed_in: false`.

Because a study already starts with `web_site_open`, a normal build of that site is signed in after one `web_site_sign_in`, with no new build option.

## Decisions for maintainers

These are policy calls I made so the change is usable; each is small to reverse.

1. **Clean room allows the two tools** (two lines in `clean_room.rs`). Reasoning: the person signing in as themselves and looking at pages is watching from outside, as a user would; `visitor_view()` strips exactly what it did before.
2. **A saved sign-in is used by default** for later opens of that site, until `web_site_sign_out`. Saving it is treated as the consent, and the tool text and evidence say so. The alternative is opt-in per study, which needs an option in the Make screen and `rebuild`.
3. **Restricted MCP mode refuses both tools even with `--allow-web`**, since sign-in opens a window on the person's desktop.
4. The saved profile sits on disk (owner-only on Unix; on Windows it relies on the per-user config folder). On Linux it is launched with the basic password store so the visible and headless launches can read the same cookies. The tool text says that anyone who can open the person's files could use the sign-in.

## Trade-offs and limits

- Needs a desktop: on a computer with no display the tool refuses at once with what to do instead.
- Sites that tie a sign-in to the browser, or expire it quickly, will capture signed out; the check after saving and the `sign_in_page` field say so.
- Session-only cookies are kept by setting the profile to continue where it left off; restored tabs are not copied.
- The saved profile can also hold single sign-on providers' sign-ins made in that window. It is used only when that exact host and port is opened.
- Screenshots and page text of a signed-in study contain the person's own account data; the evidence says so. Result URLs drop the query and fragment when a sign-in is used.
- Not in this PR (roadmap lines added under R2.9): a Make-screen button, showing the person the study's first screenshots to confirm before the builder starts, attaching to the person's running browser, refreshing a saved sign-in from a capture, and a live run on a real site and with the Snap browser.

## What was verified

Run locally on Linux (x86-64), on the branch before its final rebase onto `main` (the rebase was clean; after it: `cargo fmt --all --check`, `cargo xtask layers`, `locks`, `secrets`, `tools --check`, `i18n-coverage` pass):

- `cargo test -p craft-anything-engine` (583 passed, 12 ignored), `-p craft-anything-mcp` (22), `-p craft-anything-ai` (580, 3 ignored).
- `cargo clippy -p <crate> --all-targets -- -D warnings` for engine, mcp and ai.
- **Live, with Chromium 157 under a virtual display against a local test site** (the new `#[ignore]` tests in `site_sign_in/tests.rs`; a helper plays the person over the browser's own debugging port and closes the window):
  - a sign-in made in the visible window is seen by a later headless open and capture, including an HttpOnly cookie and a session-only cookie (removing the continue-where-you-left-off setting makes that assertion fail, so the setting is what keeps it);
  - `signed_in: false` and a signed-out site show the signed-out page with the private-profile limitation;
  - a site that forgets the cookie is reported as still a sign-in page by the check after saving;
  - two overlapping signed-in opens both work and leave the saved sign-in byte-identical;
  - the timeout path stops the browser, keeps what was saved and leaves no process behind;
  - with no display the tool refuses immediately.
  - The two existing live website tests still pass.

**Not verified:** a real third-party site; a confined Snap or Flatpak browser (reasoned from the existing profile-location code, not run); Windows and macOS behaviour, including the browser-exit signal (the profile lock going away) and cookie decryption there; the workspace-wide `cargo xtask ci` steps and `--features wasm-plugins` (not enough disk locally, so CI is the first run of those); how the egui app shows the new tools.

An independent review pass was done before opening; its findings (copying only after the browser has exited, not treating one slow probe as a closed window, a whole-or-nothing replacement of the saved profile, reserved Windows names in site keys, owner-only permissions) are fixed in the later commits.
2026-11-15 17:28:04 +01:00
Justin John a5fa1cd739 Stop Ghidra's analysis when the project that started it is deleted (R1.5) (#1893)
In Deep mode a build starts Ghidra's one-time analysis on its own thread, and it kept running after its project was deleted, using a core and about 12 GB of memory until the app closed. The analysis now also stops once the project's record is known to be gone, checked on its existing polls. Pausing is unchanged, and a record that can't be read for a moment doesn't stop it. Fixes #948.
2026-11-15 14:08:51 +07:00
Rudy Mizrahi Celekli 63eaef1889 Show how to retry when project approvals refuse a builder action (R2.9) (#1848)
When Auto mode or a project's approval setting refuses an action, the build feed now names the kind and how to be asked next time, for example /approvals publish ask for a refused push. The refusal itself is unchanged. Repeated refusals of one kind share one notice, and the next build clears old notices.
2026-11-15 11:10:08 +07:00
Nicolas Bohn 3c1926cd23 Save Unity sounds: a WAV for 16-bit PCM, else the FMOD bank (R3.9) (#1879)
game_unity_asset_export now takes AudioClips (Unity 5 and later). The sound is read from the .resource file beside the serialized file or inside the bundle, 256 MiB at most. A single 16-bit PCM sample in mono or stereo is saved as a WAV; anything else (Vorbis, ADPCM, a bank that isn't read) is saved as the FMOD bank it's stored in, with a limitation saying so. The output's extension is set to .wav or .fsb to match.
2026-11-15 05:54:21 +07:00
Dylan M. Taylor 98b22ac3e2 engine: contain agent reads and stop auto-running generated programs (#1878)
* engine: contain agent reads and stop auto-running generated programs

* engine: format the read-containment changes

* engine: expect deep mode reads to stay inside the workspace

* mcp: use an always-allowed action in approval-shape tests
2026-11-14 17:14:59 -05:00
Dylan M. Taylor 84edfd6010 Fix the private config folder helper path (#1875)
* settings: call the private-folder helper through its module

* journal: format the redaction helper

* Secure the config directory before replacing settings
2026-11-14 15:21:24 -05:00
Dylan M. Taylor bc47887f4a journal: redact header-style and env-style credential field names (#1874) 2026-11-14 14:33:19 -05:00
Dylan M. Taylor 88facbb716 settings: write config.toml owner-only in a private folder (#1873) 2026-11-14 14:33:14 -05:00
Alex Joaquim Pereira 58748a7463 Keep comparison analysis limitations (R3.12) (#1817)
app_graphs_compare and js_exports_compare dropped the analysis limitations of the graphs they compared (a malformed source map, a truncated inventory, dynamic IPC names), so a comparison read as complete when one side was partial. Each side's limitations, from a path or from saved js_app_map evidence, now go into the comparison's evidence labelled left: or right:.
2026-11-14 23:34:18 +07:00
Alex Joaquim Pereira f8f1207fae Report complete native string reference counts (R3.12) (#1797)
native_strings_find listed at most 32 references per matching string with no count or flag. Each match now carries its complete reference_count and a references_capped flag, and a search with a cut list adds a references_capped limitation.
2026-11-14 23:05:27 +07:00
muraa-p 8374ad7154 Record the site's start page the way the walkthrough takes it (#1857)
The Deep website study from #1838 sent `web_walkthrough_record` a step shape it doesn't accept, so no recording was ever written. The step is now the tool's own (a test reads it as the tool's params), request bodies are kept so two operations to one endpoint are told apart, a body cut at its cap is left out rather than replayed incomplete, headers are read from the shape the browser keeps them in, and the file is written with private permissions.
2026-11-14 17:42:46 +07:00
muraa-p d3bb9ad455 Say when a light pin had to copy what it meant to share (R2.10) (#220)
A light pin hard-links dependencies and media from the project and copies a file it can't link (a drive without hard links, a file at its link limit). That fallback was silent, so the pin just looked bigger. Pins now record `copied_shared_bytes`, and the app says how much was copied instead of shared. Older pins read it as zero.
2026-11-14 17:06:12 +07:00
muraa-p c204d3ea18 Let a project's builder be chosen from the CLI and MCP (#1833)
`project_builder_set` chooses the AI that builds a project's later changes by an enabled backend's name, `default` gives it back to the app's own choice, and with no name it says which is chosen and which builds now. A name that is off or unknown is refused before anything is saved. It runs in Clean room, since it never looks at the target. The project page's own control is still open (R2.9).
2026-11-14 16:32:33 +07:00
muraa-p 3394cad58f Record a website's traffic in Deep mode and tell the builder about the stand-in backend (#1838)
A Deep website study now records the start page's requests and answers to `capture/original.har` (bodies within their cap, credential headers and declared secrets left out as in every capture; a failure is noted in how-it-works.md, not fatal). When that recording is there, the brief tells the builder that `web_standin_build` and `web_standin_start` can serve those answers to its own front end. Clean room is unchanged. Starting a stand-in automatically stays open (R3.11).
2026-11-14 16:30:07 +07:00
muraa-p a3e5d04df6 Count JSON responses, not all requests, for body outlines (#1845)
`web_page_show` read bodies for the first 200 requests of any kind, so a page that loads its data after a few hundred scripts, styles and telemetry calls got no JSON outline at all, and nothing said why. The cap now counts JSON responses, the network result counts them, and when some got no outline the evidence says how many and why: past the cap, after the window's deadline, or a body that couldn't be read as JSON (part of #1811).
2026-11-14 15:43:29 +07:00
Rudy Mizrahi Celekli a3db764949 Show ACP token counts as unknown when the agent does not report them (R2.2) (#1843)
Agents over ACP report context use, not a turn's tokens, so their turns now say the token count is unknown instead of 0, in the CLI, the build's activity and the app. Project and session totals keep what was reported: "Unknown" when nothing was, and a lower bound such as "1.9M+" when some turns had no count. usage.json gains `tokens_incomplete`; older files read as before.
2026-11-14 14:36:22 +07:00
Rudy Mizrahi Celekli f5a3d2d5e4 Verify Mac call observation with a real debugger (R2.4) (#1844)
An opt-in macOS test compiles a small program, runs `apple_calls_observe` on it under LLDB, checks that both function hits are recorded in order, and that a file LLDB can't debug is an error with a fix. Run on arm64 macOS with Apple LLDB.
2026-11-14 14:15:21 +07:00
Rudy Mizrahi Celekli ddd82831ff Check the browser exit diagnostic without timing the whole tool call (R5.2) (#1840)
The test of a browser that exits before it's ready checked a 20 s stopwatch over the whole call, which also timed process startup and cleanup and failed under load. It now checks the error code and the exit diagnostic, which already tell the exit apart from the deadline.
2026-11-14 14:15:15 +07:00
Nathaniel Caldwell 75d0fa0b4d Say what to do when a builder overwrites the build's progress record (R5.3) (#1810) (#1810)
A builder that kept its own notes in inbox/build-progress.json stopped every later run with an unexplained parse error. The run still stops on a progress record it can't read, but now says the file is Craft Anything's record of the build, that something else changed it, and to rename or delete it to go on; a record from a newer version still says to update. Every brief now names craft.json, feed.json and inbox/ as Craft Anything's own records.
2026-11-14 02:48:40 +07:00
Nicolas Bohn 6a1588e706 Read config.toml again for up to 2 s at startup before using defaults (R2.9) (#1828) (#1828)
A config.toml that another program or a virus scan held for a moment at startup left the whole session on defaults that refuse every save (#1735). Startup now reads it again after short waits, 2 s in all, before falling back, but not for a missing file or a folder in its place; edits deferred at the last exit are merged only once the file could be read, so they aren't lost while it stays unreadable.
2026-11-14 00:53:34 +07:00
Alex Joaquim Pereira 52f1daa668 Say how many report limitations were omitted (R5.6) (#1796) (#1796)
core_report_write lists at most 30 distinct limitations; past that, its Markdown and HTML reports now end the list with how many more were omitted, instead of dropping the rest without a word. A report with 30 or fewer is unchanged.
2026-11-13 01:11:05 +07:00
Alex Joaquim Pereira 26ea91abd3 Resolve and disclose application graph import facts (R3.12) (#1795) (#1795)
An application graph resolved only the first 2,000 imports of a module and dropped which per-file fact lists were cut, so later dependencies lost their edge and role and nothing said a list was cut. Every retained import is now resolved, the cut lists are named in a facts_truncated limitation, and js_app_map reports partial coverage for such a graph.
2026-11-13 00:47:39 +07:00
Alex Joaquim Pereira c64b74ec83 Report complete comparison row totals (R3.12) (#1792) (#1792)
app_graphs_compare and js_exports_compare cut added, removed, bundle-module and vendor rows at 2,000 without saying so, and the app comparison's summary reported the cut lengths as totals. Each list now carries its complete total beside the capped rows, the summary uses those totals, and a cut comparison is marked rows_capped with a limitation and partial coverage.
2026-11-13 00:07:18 +07:00
Alex Joaquim Pereira c727d788a0 Cap and disclose .gitignore reads (R3.11) (#1786) (#1786)
Folder walks read each .gitignore whole, whatever its size. They now read it through the capped, regular-file-checked reader with a 1 MiB limit; one that is too large, not a regular file, not UTF-8 or unreadable is skipped, and app_source_import, js_source_bundle_compare and the managed source reader say so in a gitignore_skipped limitation, since its rules no longer hide files.
2026-11-12 23:11:56 +07:00
Alex Joaquim Pereira 1fb6cf697a Mark archive comparison rows capped (R3.11) (#1782) (#1782)
core_archives_compare counted every added, removed, changed and moved file but cut each list at max_rows without saying so. It now marks a cut comparison rows_capped, with a limitation that the counts are complete and partial coverage; a comparison that fits keeps its evidence as before.
2026-11-12 21:11:00 +07:00
Alex Joaquim Pereira 71dda0be00 Disclose application-graph edges dropped at the cap (R3.12) (#1780) (#1780)
An application graph dropped edges past 4 x max_nodes without saying so, and js_app_map reported complete coverage even for a graph cut by its node or edge cap. The builder now counts edges the cap turns away and records an edge_cap limitation beside node_cap, and js_app_map marks coverage partial when either cap cut the graph, on every module page.
2026-11-12 20:34:52 +07:00
Alex Joaquim Pereira 664ce030d1 Keep source-bundle comparison totals honest under the row cap (R3.12) (#1778) (#1778)
A source-to-bundle comparison with more scripts than max_rows reported the examined window's counts as if they covered the whole tree, and its count of bundle units without a source was the capped row count. It now says how many scripts were examined beside the total, counts every unclaimed unit while still listing at most max_rows, and marks a capped result with a rows_capped limitation and partial coverage.
2026-11-12 19:46:46 +07:00
FuryNocturnTV (Tare Fernandez) 290c2fde44 Probe a port no other test can take in the JEB refused-connection test (R5.2) (#1773) (#1773)
The JEB test's nothing-listens-here check bound a port and released it, so a stand-in server in a test running beside it could take that port and answer, failing the test now and then. It now uses 127.0.0.1:1, which binding port 0 never hands out.
2026-11-12 19:20:30 +07:00
Alex Joaquim Pereira d56fa23860 Mark sources of unread external source-map sections uncertain (R3.12) (#1767) (#1767)
An index-map section that points at an external map, which is never fetched, adds no sources, so an application graph treated the map's list as complete. Such sections are now counted (through nested index maps), the graph names them in a limitation, and comparing a reference source tree with the bundle reports an otherwise unmatched source as uncertain with partial coverage instead of absent.
2026-11-12 18:12:13 +07:00
d7do7e 28f0357bd7 Normalize leading dot-slash before app/ prefix check in build tools (R5.4) (#1763) (#1763)
A build tool path that already names app/, written as ./app/... or app/..., or one that resolves inside app/, is never moved into a nested app/app/ by the fallback #1752 added.
2026-11-12 17:23:03 +07:00
htjulia 4a4b06d281 Study a macOS app bundle through the program its Info.plist names (R2.4) (#1759) (#1759)
An app picked as Name.app was studied as a plain folder, so Deep mode skipped Ghidra, the console runs and the window picture, and the app-screenshot check had nothing to compare with. A folder ending in .app now resolves to the program its Info.plist names, or the one named like the bundle; a bundle with no program, and any other folder, stay as picked. Fixes #1757.
2026-11-12 16:29:14 +07:00