If I'm understanding you correctly, by xyz.o you're referring to an executable, not an object file, correct? We don't have per-object file logs. Normally ASan won't write anything to the log unless an error happens. You can add verbosity=1 to your ASAN_OPTIONS to enforce the log creation.
On Thu, Sep 15, 2016 at 3:04 PM, Karthigaasri Thirunavukkarasu <karthigaasri...@gmail.com> wrote: > I use Open Suse Linux 13.2 with GCC and I am trying to implement ASAN tool. > When I used the tool for xyz.c file I get a separate log by using "export > ASAN_OPTIONS=log_path=PATH" but it's not working in the case of xyz.o file. > > Steps I did are: > 1. Included -fsanitize=address flag in compile and link part and then > generated vos.o by building the same > > 2. After I run vos.o and start executing further what we do is kill the image > once it is done.. > > We usually dont have a stop kind of thing in vos.o! We used to kill the image > once it's done executing. For example - like creation of ipsecd.o in > StrongSwan, we execute vos.o which will start ipsec as a process in the > system. > > After killing the vos.o image,I am wondering where can I find the error log > generated by the address sanitizer tool. > > Is it because I missed something or is it because we kill the image once we > are done? > > Can you help me with this? > > -- > You received this message because you are subscribed to the Google Groups > "address-sanitizer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to address-sanitizer+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Straße, 33 80636 München Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to address-sanitizer+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.