10 Commits

Author SHA1 Message Date
85e0a3f630 fix comment 2022-09-07 21:29:56 +02:00
f5b92c8907 new example in main 2022-07-10 16:18:46 +02:00
3493dfa219 start interrupt timer on start 2022-05-04 22:58:30 +02:00
8a379ba198 add libafl_send_irq 2022-04-19 23:44:36 +02:00
80af255c2e add native remove breakpoint 2022-02-06 20:50:16 +01:00
e62b0072ea switch to icount_get_raw 2022-02-01 15:00:06 +01:00
6ec50ee9c3 add libafl_get_clock 2022-01-31 19:42:07 +01:00
5a1cf4d873 Add softmmu instumentation
Break up the control flow from softmmu/main.c:main to be called as a
library.
For now use gdb style breakpoints and native snapshots.
This keeps compatability with user-mode code.
2022-01-09 22:30:34 +01:00
Paolo Bonzini
35be72ba72 meson: move SDL and SDL-image detection to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-21 06:30:44 -04:00
Alexander Bulekov
7b73386222 softmmu: split off vl.c:main() into main.c
A program might rely on functions implemented in vl.c, but implement its
own main(). By placing main into a separate source file, there are no
complaints about duplicate main()s when linking against vl.o. For
example, the virtual-device fuzzer uses a main() provided by libfuzzer,
and needs to perform some initialization before running the softmmu
initialization. Now, main simply calls three vl.c functions which
handle the guest initialization, main loop and cleanup.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-id: 20200220041118.23264-3-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-02-22 08:26:47 +00:00