Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to bisect using ASan builds with this tool? #4

Open
svn-dys opened this issue Nov 30, 2022 · 4 comments
Open

Any way to bisect using ASan builds with this tool? #4

svn-dys opened this issue Nov 30, 2022 · 4 comments

Comments

@svn-dys
Copy link

svn-dys commented Nov 30, 2022

Trying to bisect a Chromium issue, but would like to use ASan builds instead.

@jay0lee
Copy link
Owner

jay0lee commented Dec 1, 2022

Try adding:

--asan

to your command line. You can also run:

chrome_bisect --help

to see all options.

@svn-dys
Copy link
Author

svn-dys commented Dec 1, 2022

Thank you for helping!

I see this error:

chrome_bisect.exe -a win -g 1078752 -b 1078011 --asan -- --enable-features=Portals
running bisect-builds.py with options: -a win -g 1078752 -b 1078011 --asan --verify-range --use-local-cache -- --enable-features=Portals
Scanning from 1078752 to 1078011 (741 revisions).
Downloading list of known revisions...
Saved revisions 275883-852410 to C:\Users\SvenH\AppData\Local\Temp\_MEI255242\.bisect-builds-cache.json
Traceback (most recent call last):
  File "chrome_bisect.py", line 119, in <module>
  File "chrome_bisect.py", line 115, in main
  File "bisect_builds.py", line 1308, in main
  File "bisect_builds.py", line 845, in Bisect
  File "bisect_builds.py", line 491, in GetRevList
RuntimeError: Last available bisect revision for win is 852410. Try a different good/bad range.
[26080] Failed to execute script 'chrome_bisect' due to unhandled exception!

The bisect range is from 12/1 (1078011 ) - 12/2 (1078752)... which seems reasonable. I cannot bisect past 852410? Am I doing something wrong?

@svn-dys
Copy link
Author

svn-dys commented Dec 6, 2022

Hi,

Anyway to fix this issue? I am trying to bisect a UAF that seems to only reproduce on ASan builds. I cannot bisect builds past rev 852410 with the --asan switch. :(

@jay0lee
Copy link
Owner

jay0lee commented Dec 6, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants